Our system is connected through eth0 to a network that has a functional
maas running. As such, we can boot guests that dhcp onto the network and
should network boot.
Configuring maas is beyond the scope of this verification report.
# enable proposed
$ mirror=http://ports.ubuntu.com/ubuntu-ports
$ echo "deb $mirror trusty-proposed main universe" |
sudo tee -a /etc/apt/sources.list
$ sudo apt-get -q update
## to get a functional qemu-system-ppc64, we use kilo cloud archive
$ sudo apt-add-repository -y cloud-archive:kilo-proposed
$ sudo apt-get update
$ sudo apt-get install -qy qemu-system-ppc qemu-slof
## try booting a qemu-system-ppc via netboot
$ myname=$(id -un)
$ sudo ip tuntap add mode tap user $myname mytap0
$ sudo ip link set mytap0 up
$ qemu-system-ppc64 -machine pseries,usb=off \
-device spapr-vscsi \
-device spapr-vlan,netdev=net00 \
-netdev type=tap,id=net00,script=no,downscript=no,ifname=mytap0 \
-boot n -display none -nographic -m 4G -echr 0x05
## eventually this will show 'booting under maas direction'
## and the system is even enlisted into maas
verified.
Our system is connected through eth0 to a network that has a functional
maas running. As such, we can boot guests that dhcp onto the network and
should network boot.
Configuring maas is beyond the scope of this verification report.
# enable proposed ports.ubuntu. com/ubuntu- ports sources. list
$ mirror=http://
$ echo "deb $mirror trusty-proposed main universe" |
sudo tee -a /etc/apt/
$ sudo apt-get -q update
## to get a functional qemu-system-ppc64, we use kilo cloud archive kilo-proposed
$ sudo apt-add-repository -y cloud-archive:
$ sudo apt-get update
$ sudo apt-get install -qy qemu-system-ppc qemu-slof
$ dpkg-query --show qemu-slof dfsg-1ubuntu1~ 14.04
qemu-slof 20140630+
# configure eth0 to be a bridge network/ interfaces"
$ sudo apt-get install -qy bridge-utils
$ ifdown eth0
$ eni="/etc/
$ cp "$eni" "$eni.dist"
$ cat > "$eni" <<EOF
auto lo
auto br0
iface br0 inet dhcp
bridge_ports eth0
EOF
ifup br0
## setup kvm, we're running linux-generic- lts-utopic kernel
$ uname -r
3.16.0-30-generic
$ sudo sh -cx 'grep "kvm_" /proc/modules || modprobe kvm_hv || modprobe kvm_pr'
$ sudo chmod 666 /dev/kvm
$ sudo ppc64_cpu --smt=off
## try booting a qemu-system-ppc via netboot netdev= net00 \ id=net00, script= no,downscript= no,ifname= mytap0 \
$ myname=$(id -un)
$ sudo ip tuntap add mode tap user $myname mytap0
$ sudo ip link set mytap0 up
$ qemu-system-ppc64 -machine pseries,usb=off \
-device spapr-vscsi \
-device spapr-vlan,
-netdev type=tap,
-boot n -display none -nographic -m 4G -echr 0x05
## eventually this will show 'booting under maas direction'
## and the system is even enlisted into maas
$ apt-cache policy qemu-system-ppc qemu-slof linux-generic- lts-utopic
qemu-system-ppc: 11ubuntu2~ cloud0 11ubuntu2~ cloud0 11ubuntu2~ cloud0 0 ubuntu- cloud.archive. canonical. com/ubuntu/ trusty- proposed/ kilo/main ppc64el Packages dpkg/status 0.0+dfsg- 2ubuntu1. 10 0 ports.ubuntu. com/ubuntu- ports/ trusty-updates/main ppc64el Packages 0.0+dfsg- 2ubuntu1. 9 0 ports.ubuntu. com/ubuntu- ports/ trusty- security/ main ppc64el Packages 0.0~rc1+ dfsg-0ubuntu3 0 ports.ubuntu. com/ubuntu- ports/ trusty/main ppc64el Packages dfsg-1ubuntu1~ 14.04 dfsg-1ubuntu1~ 14.04 dfsg-1ubuntu1~ 14.04 0 ports.ubuntu. com/ubuntu- ports/ trusty- proposed/ universe ppc64el Packages dpkg/status dfsg-1ubuntu1 0 ports.ubuntu. com/ubuntu- ports/ trusty/universe ppc64el Packages lts-utopic: ports.ubuntu. com/ubuntu- ports/ trusty-updates/main ppc64el Packages ports.ubuntu. com/ubuntu- ports/ trusty- proposed/ main ppc64el Packages dpkg/status ports.ubuntu. com/ubuntu- ports/ trusty- security/ main ppc64el Packages
Installed: 1:2.1+dfsg-
Candidate: 1:2.1+dfsg-
Version table:
*** 1:2.1+dfsg-
500 http://
100 /var/lib/
2.
500 http://
2.
500 http://
2.
500 http://
qemu-slof:
Installed: 20140630+
Candidate: 20140630+
Version table:
*** 20140630+
500 http://
100 /var/lib/
20131015+
500 http://
linux-generic-
Installed: 3.16.0.30.23
Candidate: 3.16.0.30.23
Version table:
*** 3.16.0.30.23 0
500 http://
500 http://
100 /var/lib/
3.16.0.29.22 0
500 http://