livemedia-creator: Use hd:LABEL for stage2 iso

The correct way with the current dracut (and it should be backwards
compatible) is to reference it as stage2=hd:LABEL=...
This commit is contained in:
Brian C. Lane 2015-11-20 14:44:09 -08:00
parent 7a1227a522
commit 4bc4b4c5a5
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class VirtualInstall(object):
if kernel_args:
extra_args += " "+kernel_args
if iso.stage2:
extra_args += " stage2=live:CDLABEL={0}".format(udev_escape(iso.label))
extra_args += " stage2=hd:LABEL={0}".format(udev_escape(iso.label))
args.append("--extra-args")
args.append(extra_args)