51 lines
1.6 KiB
ReStructuredText
51 lines
1.6 KiB
ReStructuredText
************
|
|
Installation
|
|
************
|
|
|
|
The installer automatically creates all the needed partitions when starting up.
|
|
|
|
Now you have to upload the .swu file to start the flashing process.
|
|
|
|
Choose one of these methods to upload the system image to the installer:
|
|
|
|
Upload the .swu file over the network using a browser
|
|
=====================================================
|
|
|
|
|
|
Now you can install the desired CoreOS version by uploading the desired
|
|
.swu file to the board using a browser, by going to http://<TARGET_IP>:8080
|
|
|
|
Upload the .swu file over the network using devtool
|
|
===================================================
|
|
|
|
If you have a working build environement, you can upload the image using
|
|
the devtool command:
|
|
|
|
.. code-block::
|
|
|
|
MACHINE=<MACHINE> devtool swupdate-www-push <IMAGE> <TARGET_IP>
|
|
|
|
|
|
.. hint::
|
|
Replace <IMAGE> with the image recipe name, eg: coreos-image-all-features
|
|
Replace <MACHINE> by the machine name (if not set in local.conf)
|
|
Replace <TARGET_IP> by the IP adress of the board
|
|
|
|
Upload the .swu file over the network using coreos-device
|
|
=========================================================
|
|
|
|
If you don't have a working build environement, you can upload the image using
|
|
the coreos-device python script:
|
|
|
|
.. code-block::
|
|
|
|
./coreos-device swupdate-www-push <SWU_PATH> <TARGET_IP>
|
|
|
|
.. hint::
|
|
Replace <SWU_PATH> with the the path to the SWU, eg: ./coreos-image-all-features-<MACHINE>.swu
|
|
Replace <TARGET_IP> by the IP adress of the board
|
|
|
|
.. hint::
|
|
You will find the coreos-device script under the scripts directory inside
|
|
the CoreOS repository.
|