livemedia-creator: Use hd:LABEL for stage2 iso (#1355882)

The correct way with the current dracut (and it should be backwards
compatible) is to reference it as stage2=hd:LABEL=...

(cherry picked from commit 4bc4b4c5a5)
Resolves: rhbz#1355882
This commit is contained in:
Brian C. Lane 2015-11-20 14:44:09 -08:00
parent 1f9af67806
commit 3093ff7bac
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class VirtualInstall( object ):
if kernel_args:
extra_args += " "+kernel_args
if iso.liveos:
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)