From 6ab46e7b3dbbc7e9137349c66ce6e88f9dfe8087 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 30 Jul 2015 16:21:29 +0200 Subject: [PATCH] [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 --- doc/image-guide/section_freebsd-example.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/image-guide/section_freebsd-example.xml b/doc/image-guide/section_freebsd-example.xml index 822cf29b9e..fdaaa9c125 100644 --- a/doc/image-guide/section_freebsd-example.xml +++ b/doc/image-guide/section_freebsd-example.xml @@ -41,16 +41,16 @@ Get the installer ISO: $ curl ftp://ftp.freebsd.org/pub/FreeBSD/releases\ -/amd64/amd64/ISO-IMAGES/10.0/FreeBSD-10.0-RELEASE-amd64-bootonly.iso >\ -FreeBSD-10.0-RELEASE-amd64-bootonly.iso +/amd64/amd64/ISO-IMAGES/10.1/FreeBSD-10.1-RELEASE-amd64-bootonly.iso >\ +FreeBSD-10.1-RELEASE-amd64-bootonly.iso Launch a VM on your local workstation. Use the same hypervisor, virtual disk, and virtual network drivers as you use in your production environment. The following command uses the minimum amount of RAM, - which is 128 MB: - $ kvm -smp 1 -m 128 -cdrom FreeBSD-10.0-RELEASE-amd64-bootonly.iso \ + which is 256 MB: + $ kvm -smp 1 -m 256 -cdrom FreeBSD-10.1-RELEASE-amd64-bootonly.iso \ -drive if=virtio,file=freebsd.qcow2 \ -net nic,model=virtio -net user You can specify up to 1 GB additional RAM to make the @@ -227,15 +227,15 @@ FreeBSD-10.0-RELEASE-amd64-bootonly.iso Download the latest bsd-cloudinit-installer. 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 fetch command handles HTTPS URLs. - In FreeBSD 10.0 the fetch command + In FreeBSD 10.1 the fetch command verifies SSL peers by default, so you need to install the ca_root_nss package that contains certificate authority root certificates and tell fetch where to find them. For FreeBSD - 10.0 run these commands: + 10.1 run these commands: # pkg install ca_root_nss # fetch --ca-cert=/usr/local/share/certs/ca-root-nss.crt \ https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh @@ -262,7 +262,7 @@ https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh Power off the system: - # shutdown -s now + # shutdown -h now