From 69472cecba3dbdebf17274a8e531978fa7828af7 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Fri, 29 Jun 2018 08:33:04 +0200 Subject: Enea VNF: use UUID instead of block device name The block device name(sda,sdb,vda,..) from guest/VNF is dependent on the way of how qemu mounts the qcow2: HDD, virtio,... In order to avoid mount issues in guest/VNF the partition UUID must be used whenever is possible. Explicitly set the partition type according to doc: https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs Signed-off-by: Adrian Calianu Signed-off-by: Adrian Dudau --- scripts/lib/wic/canned-wks/enea-nfv-access-vnf-qemux86-64.wks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 index 9b3e3cf..89c8e4d 100644 --- 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 @@ -1,5 +1,5 @@ # short-description: Create an MBR partition table with PCBIOS # long-description: Create an MBR partition table with PCBIOS -part /boot --source bootimg-pcbios --label boot --active --align 1024 -part / --source rootfs --use-uuid --fstype=ext4 --label access --align 1024 +part /boot --source bootimg-pcbios --label boot --active --part-type C12A7328-F81F-11D2-BA4B-00A0C93EC93B --use-uuid --align 1024 +part / --source rootfs --fstype=ext4 --label access --part-type 0FC63DAF-8483-4772-8E79-3D69D8477DE4 --use-uuid --align 1024 bootloader --ptable gpt --timeout=5 --append="console=ttyS0,115200 hugepagesz=2M hugepages=256 isolcpus=1 nohz_full=1 rcu_nocbs=1 audit=0 quiet" -- cgit v1.2.3-54-g00ecf