diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-12-18 10:18:11 +0100 |
---|---|---|
committer | Adrian Calianu <adrian.calianu@enea.com> | 2017-12-18 10:18:11 +0100 |
commit | 7d22f83f0b3af1a5a93cd7d1775601297c96e89f (patch) | |
tree | 614215fff8c9f8f434e6834262330bbe1cee2ee0 | |
parent | c6967b56e4dc80636dab20be80b3b9be301ea6ee (diff) | |
download | nfv-access-documentation-7d22f83f0b3af1a5a93cd7d1775601297c96e89f.tar.gz |
book-enea-nfv-access-guide: unhide docker installer chapter
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
-rw-r--r-- | doc/book-enea-nfv-access-guide/doc/getting_started.xml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/doc/book-enea-nfv-access-guide/doc/getting_started.xml b/doc/book-enea-nfv-access-guide/doc/getting_started.xml index 6c3db86..cb1de6d 100644 --- a/doc/book-enea-nfv-access-guide/doc/getting_started.xml +++ b/doc/book-enea-nfv-access-guide/doc/getting_started.xml | |||
@@ -96,14 +96,14 @@ | |||
96 | /* GRUB EFI file */</programlisting> | 96 | /* GRUB EFI file */</programlisting> |
97 | </section> | 97 | </section> |
98 | 98 | ||
99 | <section condition="hidden" id="prebuilt-artifacts"> | 99 | <section condition="" id="prebuilt-artifacts"> |
100 | <title>How to use the Prebuilt Artifacts</title> | 100 | <title>How to use the Prebuilt Artifacts</title> |
101 | 101 | ||
102 | <section id="sysshell_config"> | 102 | <section id="sysshell_config"> |
103 | <title>Booting NFV Access to RAM</title> | 103 | <title>Booting NFV Access to RAM</title> |
104 | 104 | ||
105 | <para>NFV Access can be booted on target using the RAMDISK images. | 105 | <para>NFV Access can be booted on target using the RAMDISK images. |
106 | Following is described how to prepare the environment and configure | 106 | Following is described how to set the environment, configure the |
107 | bootloader(U-Boot), load and boot the NFV Access on target. Please check | 107 | bootloader(U-Boot), load and boot the NFV Access on target. Please check |
108 | the <link linkend="boot_prereq">Prerequisites</link> subchapter before | 108 | the <link linkend="boot_prereq">Prerequisites</link> subchapter before |
109 | starting boot process.</para> | 109 | starting boot process.</para> |
@@ -127,7 +127,8 @@ | |||
127 | > setenv rootfs_addr 0x60000000 | 127 | > setenv rootfs_addr 0x60000000 |
128 | > tftpboot $rootfs_addr enea-nfv-access-cn8304.ext4.gz.u-boot | 128 | > tftpboot $rootfs_addr enea-nfv-access-cn8304.ext4.gz.u-boot |
129 | > booti $kernel_addr $rootfs_addr $fdtcontroladdr | 129 | > booti $kernel_addr $rootfs_addr $fdtcontroladdr |
130 | > setenv bootargs root=/dev/ram0 rw ramdisk_size=1000000 console=ttyAMA0,115200n8 earlycon=pl011,0x87e028000000 coherent_pool=16M</programlisting> | 130 | > setenv bootargs root=/dev/ram0 rw ramdisk_size=1000000 console=ttyAMA0,115200n8 \ |
131 | earlycon=pl011,0x87e028000000 coherent_pool=16M</programlisting> | ||
131 | 132 | ||
132 | <section id="boot_prereq"> | 133 | <section id="boot_prereq"> |
133 | <title>Prerequisites:</title> | 134 | <title>Prerequisites:</title> |
@@ -175,25 +176,27 @@ | |||
175 | servers will be installed and configured in order to facilitate a | 176 | servers will be installed and configured in order to facilitate a |
176 | RAMDISK boot process on the target. Following is an example of how to | 177 | RAMDISK boot process on the target. Following is an example of how to |
177 | build and run Enea provided docker image. In this case host is | 178 | build and run Enea provided docker image. In this case host is |
178 | directly connected to target on eth1. For more details please see | 179 | directly connected to target on eth1. For more details about docker |
179 | README file from docker installater folder.</para> | 180 | installer please see README file from docker installater |
181 | folder.</para> | ||
180 | 182 | ||
181 | <programlisting>> cd nfv-access-tools/nfv-installer/docker-pxe-ramboot/ | 183 | <programlisting>> cd nfv-access-tools/nfv-installer/docker-pxe-ramboot/ |
182 | > mkdir -p ./images | 184 | > mkdir -p ./images |
183 | > cp <NFVAccessReleasePath>/Image $(pwd)/images/Image | 185 | > cp <NFVAccessReleasePath>/Image $(pwd)/images/Image |
184 | > cp <NFVAccessReleasePath>/enea-nfv-access-cn8304.ext4.gz.u-boot $(pwd)/images/enea-nfv-access-cn8304.ext4.gz.u-boot</programlisting> | 186 | > cp <NFVAccessReleasePath>/enea-nfv-access-cn8304.ext4.gz.u-boot \ |
187 | $(pwd)/images/enea-nfv-access.ext4.gz.u-boot</programlisting> | ||
185 | 188 | ||
186 | <programlisting>> docker build . -t el_installer</programlisting> | 189 | <programlisting>> docker build . -t el_installer</programlisting> |
187 | 190 | ||
188 | <programlisting>> docker run -it --net=host --privileged \ | 191 | <programlisting>> docker run -it --net=host --privileged \ |
189 | -v $(pwd)/dhcpd.conf:/etc/dhcp/dhcpd.conf \ | 192 | -v $(pwd)/dhcpd.conf:/etc/dhcp/dhcpd.conf \ |
190 | -v $(pwd)/images/Image:/var/lib/tftpboot/Image \ | 193 | -v $(pwd)/images/Image:/var/lib/tftpboot/Image \ |
191 | -v $(pwd)/images/enea-nfv-access-cn8304.ext4.gz.u-boot:/var/lib/tftpboot/enea-nfv-access-cn8304.ext4.gz.u-boot \ | 194 | -v $(pwd)/images/enea-nfv-access.ext4.gz.u-boot:/var/lib/tftpboot/enea-nfv-access.ext4.gz.u-boot \ |
192 | el_installer eth1</programlisting> | 195 | el_installer eth1</programlisting> |
193 | 196 | ||
194 | <para>Using this setup, on target side, U-Boot need to be configured | 197 | <para>Using this setup, on target side, U-Boot need to be configured |
195 | as following before starting to boot Linux. It was considered that the | 198 | as following before starting to boot Linux. It was considered that the |
196 | first eth port(vnic0) is connected to host:</para> | 199 | first eth port(vnic0) is connected to network:</para> |
197 | 200 | ||
198 | <programlisting>> setenv ethact vnic0 | 201 | <programlisting>> setenv ethact vnic0 |
199 | > setenv gatewayip 192.168.1.1 | 202 | > setenv gatewayip 192.168.1.1 |