[image-guide] Update to FreeBSD 10.1

* change used ISO file to FreeBSD 10.1
* fix wrong parameter for the shutdown command
* use 256 MByte memory instead of 128 MByte memory

Change-Id: I91bda20e3c8445561b2b2fb27f3abf839ac7b0fc
Closes-bug: #1479755
This commit is contained in:
Christian Berendt 2015-07-30 16:21:29 +02:00
parent 03b3f8e806
commit 6ab46e7b3d

View File

@ -41,16 +41,16 @@
<step> <step>
<para>Get the installer ISO:</para> <para>Get the installer ISO:</para>
<screen><prompt>$</prompt> <userinput>curl ftp://ftp.freebsd.org/pub/FreeBSD/releases\ <screen><prompt>$</prompt> <userinput>curl ftp://ftp.freebsd.org/pub/FreeBSD/releases\
/amd64/amd64/ISO-IMAGES/10.0/FreeBSD-10.0-RELEASE-amd64-bootonly.iso &gt;\ /amd64/amd64/ISO-IMAGES/10.1/FreeBSD-10.1-RELEASE-amd64-bootonly.iso &gt;\
FreeBSD-10.0-RELEASE-amd64-bootonly.iso</userinput></screen> FreeBSD-10.1-RELEASE-amd64-bootonly.iso</userinput></screen>
</step> </step>
<step> <step>
<para>Launch a VM on your local workstation. Use the same <para>Launch a VM on your local workstation. Use the same
hypervisor, virtual disk, and virtual network drivers as you hypervisor, virtual disk, and virtual network drivers as you
use in your production environment.</para> use in your production environment.</para>
<para>The following command uses the minimum amount of RAM, <para>The following command uses the minimum amount of RAM,
which is 128&nbsp;MB:</para> which is 256&nbsp;MB:</para>
<screen><prompt>$</prompt> <userinput>kvm -smp 1 -m 128 -cdrom FreeBSD-10.0-RELEASE-amd64-bootonly.iso \ <screen><prompt>$</prompt> <userinput>kvm -smp 1 -m 256 -cdrom FreeBSD-10.1-RELEASE-amd64-bootonly.iso \
-drive if=virtio,file=freebsd.qcow2 \ -drive if=virtio,file=freebsd.qcow2 \
-net nic,model=virtio -net user</userinput></screen> -net nic,model=virtio -net user</userinput></screen>
<para>You can specify up to 1&nbsp;GB additional RAM to make the <para>You can specify up to 1&nbsp;GB additional RAM to make the
@ -227,15 +227,15 @@ FreeBSD-10.0-RELEASE-amd64-bootonly.iso</userinput></screen>
<step> <step>
<para>Download the latest <para>Download the latest
<application>bsd-cloudinit-installer</application>. The <application>bsd-cloudinit-installer</application>. The
download commands differ between FreeBSD 10.0 and 9.2 download commands differ between FreeBSD 10.1 and 9.2
because of differences in how the <command>fetch</command> because of differences in how the <command>fetch</command>
command handles HTTPS URLs.</para> command handles HTTPS URLs.</para>
<para>In FreeBSD 10.0 the <command>fetch</command> command <para>In FreeBSD 10.1 the <command>fetch</command> command
verifies SSL peers by default, so you need to install the verifies SSL peers by default, so you need to install the
<package>ca_root_nss</package> package that contains <package>ca_root_nss</package> package that contains
certificate authority root certificates and tell certificate authority root certificates and tell
<command>fetch</command> where to find them. For FreeBSD <command>fetch</command> where to find them. For FreeBSD
10.0 run these commands:</para> 10.1 run these commands:</para>
<screen><prompt>#</prompt> <userinput>pkg install ca_root_nss</userinput> <screen><prompt>#</prompt> <userinput>pkg install ca_root_nss</userinput>
<prompt>#</prompt> <userinput>fetch --ca-cert=/usr/local/share/certs/ca-root-nss.crt \ <prompt>#</prompt> <userinput>fetch --ca-cert=/usr/local/share/certs/ca-root-nss.crt \
https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh</userinput></screen> https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh</userinput></screen>
@ -262,7 +262,7 @@ https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh</use
</step> </step>
<step> <step>
<para>Power off the system:</para> <para>Power off the system:</para>
<screen><prompt>#</prompt> <userinput>shutdown -s now</userinput></screen> <screen><prompt>#</prompt> <userinput>shutdown -h now</userinput></screen>
</step> </step>
</procedure> </procedure>
</section> </section>