use uuid to mount root partition 34/1034/1
authordavidplunkett <dp7642@att.com>
Fri, 21 Jun 2019 21:59:31 +0000 (21:59 +0000)
committerdavidplunkett <dp7642@att.com>
Fri, 21 Jun 2019 21:59:31 +0000 (21:59 +0000)
Some servers assign different device labels in the installer
and firstboot which causes the boot process to break.  For example
sometimes a virtual cd might be /dev/sda during intstall, but not
be present after the reboot so now the root drive is /dev/sda.
Mounting by uuid will allow the boot to work even if the device labels
change between boots.

Signed-off-by: davidplunkett <dp7642@att.com>
Change-Id: I82025fc69285418bae48b7b32d31d3e1a0552cbb

ubuntu.seed.template

index 957645e..5849168 100644 (file)
@@ -93,7 +93,7 @@ d-i partman-efi/non_efi_system boolean true
 # The default is to mount by UUID, but you can also choose "traditional" to
 # use traditional device names, or "label" to try filesystem labels before
 # falling back to UUIDs.
-d-i partman/mount_style select traditional
+d-i partman/mount_style select uuid
 
 ### Packages