diff options
-rw-r--r-- | images/enea-nfv-access-vnf.bb | 8 | ||||
-rw-r--r-- | scripts/lib/wic/canned-wks/enea-nfv-access-vnf-qemux86-64.wks | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/images/enea-nfv-access-vnf.bb b/images/enea-nfv-access-vnf.bb index cb43bc3..a3902c2 100644 --- a/images/enea-nfv-access-vnf.bb +++ b/images/enea-nfv-access-vnf.bb | |||
@@ -2,12 +2,8 @@ DESCRIPTION = "VNF image of the Enea NFV Access Platform, includes kernel, rootf | |||
2 | 2 | ||
3 | require images/enea-nfv-access-common.inc | 3 | require images/enea-nfv-access-common.inc |
4 | 4 | ||
5 | # Enea VNF boot configuration | 5 | IMAGE_FSTYPES += "wic.qcow2" |
6 | ROOT_VM = "root=/dev/vda2" | 6 | WKS_FILE = "enea-nfv-access-vnf-qemux86-64.wks" |
7 | APPEND = "console=ttyS0,115200 hugepagesz=2M hugepages=512 isolcpus=1 nohz_full=1 rcu_nocbs=1 audit=0 quiet" | ||
8 | SYSLINUX_TIMEOUT = "30" | ||
9 | |||
10 | IMAGE_FSTYPES += "ext4.qcow2" | ||
11 | 7 | ||
12 | CLOUDINITPKGS = "cloud-init util-linux-blkid" | 8 | CLOUDINITPKGS = "cloud-init util-linux-blkid" |
13 | CLOUDINITPKGS += " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'cloud-init-systemd', '', d)}" | 9 | CLOUDINITPKGS += " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'cloud-init-systemd', '', d)}" |
diff --git a/scripts/lib/wic/canned-wks/enea-nfv-access-vnf-qemux86-64.wks b/scripts/lib/wic/canned-wks/enea-nfv-access-vnf-qemux86-64.wks new file mode 100644 index 0000000..69cf902 --- /dev/null +++ b/scripts/lib/wic/canned-wks/enea-nfv-access-vnf-qemux86-64.wks | |||
@@ -0,0 +1,5 @@ | |||
1 | # short-description: Create an MBR partition table with PCBIOS | ||
2 | # long-description: Create an MBR partition table with PCBIOS | ||
3 | part /boot --source bootimg-pcbios --label boot --active --align 1024 | ||
4 | part / --source rootfs --use-uuid --fstype=ext4 --label access --align 1024 | ||
5 | bootloader --ptable gpt --timeout=5 --append="console=ttyS0,115200 console=tty0 hugepagesz=2M hugepages=512 isolcpus=1 nohz_full=1 rcu_nocbs=1 audit=0 quiet" | ||