summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/qemux86-directdisk.wks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/canned-wks/qemux86-directdisk.wks')
-rw-r--r--scripts/lib/wic/canned-wks/qemux86-directdisk.wks10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/qemux86-directdisk.wks b/scripts/lib/wic/canned-wks/qemux86-directdisk.wks
new file mode 100644
index 0000000000..8fc38b54d0
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/qemux86-directdisk.wks
@@ -0,0 +1,10 @@
1# short-description: Create a qemu machine 'pcbios' direct disk image
2# long-description: Creates a partitioned legacy BIOS disk image that the user
3# can directly use to boot a qemu machine.
4
5
6part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
7part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
8
9bootloader --timeout=0 --append="vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda2 rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "
10