X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=README.md;h=523b49d54e7a53aa2b7dc7f7765ac3e946ae699c;hb=d97c464fe4c7ae16385bf101405a1f1f6a2dcb09;hp=cf3756c439b0a7317643603e1516c36767da1a62;hpb=308b84a2851e9a16458e5aebfd9f0341ca7530bd;p=icn.git diff --git a/README.md b/README.md index cf3756c..523b49d 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,29 @@ Work in progress For more information refer - https://wiki.akraino.org/pages/viewpage.action?pageId=11995140 + +## Build ISO + +We should run the following commands on a fresh ubuntu 18.04 of kernel version 4.15.0-45-generic + +```bash +cd ~ +mkdir -p workspace && cd workspace +git clone "https://gerrit.akraino.org/r/icn" # may need to switch the branch based on your case +sudo icn/tools/setup_build_machine.sh +sudo icn/tools/collect.sh +sudo icn/tools/create_usb_bootable.sh +``` + +The script builds an ISO based on the official ubuntu-18.04-server.iso. The generated ISO +is located at `workspace/icn-ubuntu-18.04.iso`. +All files under `icn` directory are copied into the ISO. During the installation of the ISO, +these files are copied to infra-local-controller under `/opt/icn`. + +## How to use the ISO to bootstrap a infra-local-controller + +1. We burn the ISO onto an USB strick. +2. We plug this USB into a server and press the power-on button. (choose boot from the USB strick) +3. The ubuntu 18.04 is supposed to be installed on the server, then it reboots automatically. +4. Now we can login the server with the default user/password of icn/icn +5. We can do anything we need here to install/configure/launch services.