summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2018-06-29 08:33:04 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2018-06-29 11:00:43 +0200
commit69472cecba3dbdebf17274a8e531978fa7828af7 (patch)
treee2ca8f5a039956f9d01e17ff26caa21f1c104796
parentd53c7338ceccd5bf246c383dd1c68ae8111df14e (diff)
downloadmeta-el-nfv-access-69472cecba3dbdebf17274a8e531978fa7828af7.tar.gz
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 <adrian.calianu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
-rw-r--r--scripts/lib/wic/canned-wks/enea-nfv-access-vnf-qemux86-64.wks4
1 files 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 @@
1# short-description: Create an MBR partition table with PCBIOS 1# short-description: Create an MBR partition table with PCBIOS
2# long-description: Create an MBR partition table with PCBIOS 2# long-description: Create an MBR partition table with PCBIOS
3part /boot --source bootimg-pcbios --label boot --active --align 1024 3part /boot --source bootimg-pcbios --label boot --active --part-type C12A7328-F81F-11D2-BA4B-00A0C93EC93B --use-uuid --align 1024
4part / --source rootfs --use-uuid --fstype=ext4 --label access --align 1024 4part / --source rootfs --fstype=ext4 --label access --part-type 0FC63DAF-8483-4772-8E79-3D69D8477DE4 --use-uuid --align 1024
5bootloader --ptable gpt --timeout=5 --append="console=ttyS0,115200 hugepagesz=2M hugepages=256 isolcpus=1 nohz_full=1 rcu_nocbs=1 audit=0 quiet" 5bootloader --ptable gpt --timeout=5 --append="console=ttyS0,115200 hugepagesz=2M hugepages=256 isolcpus=1 nohz_full=1 rcu_nocbs=1 audit=0 quiet"