From 99bf0711ecf90c3bbc4cd137afc29c67a5410372 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 8 Jul 2015 13:30:59 +0100 Subject: [PATCH] ts-debian-di-install: Refactor root_disk specification Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- ts-debian-di-install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ts-debian-di-install b/ts-debian-di-install index 373fad1..6fafd6d 100755 --- a/ts-debian-di-install +++ b/ts-debian-di-install @@ -227,12 +227,14 @@ END OnPowerOff => "preserve" ); + my $root_disk = "'phy:$gho->{Lvdev},xvda,w'"; + prepareguest_part_xencfg($ho, $gho, $ram_mb, \%install_xopts, <{Lvdev},xvda,w' + $extra_disk $root_disk ] END @@ -256,7 +258,7 @@ END $blcfg # disk = [ - 'phy:$gho->{Lvdev},xvda,w' + $root_disk ] END return; -- 2.39.5