Implementing image update inside patchHandler
[icn.git] / README.md
1 # Integrated Cloud Native
2
3 Work in progress
4
5 For more information refer - https://wiki.akraino.org/pages/viewpage.action?pageId=11995140
6
7 ## Build ISO
8
9 We should run the following commands on a fresh ubuntu 18.04 of kernel version 4.15.0-45-generic
10
11 ```bash
12 cd ~
13 mkdir -p workspace && cd workspace
14 git clone "https://gerrit.akraino.org/r/icn" # may need to switch the branch based on your case
15 sudo icn/tools/setup_build_machine.sh
16 sudo icn/tools/collect.sh
17 sudo icn/tools/create_usb_bootable.sh
18 ```
19
20 The script builds an ISO based on the official ubuntu-18.04-server.iso. The generated ISO
21 is located at `workspace/icn-ubuntu-18.04.iso`.
22 All files under `icn` directory are copied into the ISO. During the installation of the ISO,
23 these files are copied to infra-local-controller under `/opt/icn`.
24
25 ## How to use the ISO to bootstrap a infra-local-controller
26
27 1. We burn the ISO onto an USB strick.
28 2. We plug this USB into a server and press the power-on button. (choose boot from the USB strick)
29 3. The ubuntu 18.04 is supposed to be installed on the server, then it reboots automatically.
30 4. Now we can login the server with the default user/password of icn/icn
31 5. We can do anything we need here to install/configure/launch services.