Skip to content

Commit 30f43db

Browse files
committed
Add Ubuntu 18.04 root disk and scripts
1 parent a67ffbb commit 30f43db

11 files changed

Lines changed: 69 additions & 0 deletions

root-disks/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
cloud-init-user-data.img
44
ubuntu16.04-cloudimg-powerpc.qcow2
55
ubuntu16.04-cloudimg-ppc64el.qcow2
6+
ubuntu18.04-cloudimg-ppc64el.qcow2
67
ubuntu21.04-cloudimg-ppc64el.qcow2
78
ubuntu21.10-cloudimg-ppc64el.qcow2
89
fedora34-cloudimg-ppc64le.qcow2

root-disks/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ ubuntu16.04-cloudimg-ppc64el.qcow2:
5050
chmod a-w $@
5151
sha256sum $@ > $@.sum
5252

53+
ubuntu18.04-cloudimg-ppc64el.qcow2:
54+
$(call wget_ubuntu,$@,bionic,ubuntu-18.04-server-cloudimg-ppc64el.img)
55+
chmod a-w $@
56+
sha256sum $@ > $@.sum
57+
5358
ubuntu21.04-cloudimg-ppc64el.qcow2:
5459
$(call wget_ubuntu,$@,hirsute,ubuntu-21.04-server-cloudimg-ppc64el.img)
5560
chmod a-w $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER8
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER9
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=host
4+
export ACCEL=kvm
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER8
4+
export ACCEL=kvm
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER8
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER9
4+
export ACCEL=kvm
5+
export CLOUD_IMAGE=ubuntu18.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@

0 commit comments

Comments
 (0)