diff options
author | Peter Barabas <peter.barabas@ericsson.com> | 2016-01-18 15:03:07 +0100 |
---|---|---|
committer | Stefan Berg <sfb@consultron.com> | 2016-01-29 14:25:53 +0100 |
commit | e411b37291297105770229f06a95edcb3ff4be49 (patch) | |
tree | ba2a4169c6cc9113a12288e4be1b797adc1a5b8e /deploy/fuel_patch/ks.cfg.patch | |
parent | 19f52239658b8e8b905acf4e8613db51f8d03e02 (diff) |
Uplift deployment code for Fuel 8.0
Change-Id: If784cbd7371133bd35e95004a11e9802660ac332
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
(cherry picked from commit 91257ff4ee78f32081af2e652f58a5ba9e834f61)
Diffstat (limited to 'deploy/fuel_patch/ks.cfg.patch')
-rw-r--r-- | deploy/fuel_patch/ks.cfg.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/deploy/fuel_patch/ks.cfg.patch b/deploy/fuel_patch/ks.cfg.patch index 189695792..8c9cebc0f 100644 --- a/deploy/fuel_patch/ks.cfg.patch +++ b/deploy/fuel_patch/ks.cfg.patch @@ -1,19 +1,19 @@ -*** ks.cfg.orig Wed Apr 15 21:47:09 2015 ---- ks.cfg Wed Apr 15 21:47:24 2015 +*** ks.cfg.orig 2016-01-25 08:56:16.406241267 +0100 +--- ks.cfg 2016-01-25 14:31:11.417761494 +0100 *************** -*** 35,41 **** +*** 98,104 **** default_drive=`echo ${drives} ${removable_drives} | awk '{print $1}'` - installdrive="undefined" -! forceformat="no" - for I in `cat /proc/cmdline`; do case "$I" in *=*) eval $I;; esac ; done - - set ${drives} ${removable_drives} ---- 35,41 ---- + installdrive=${installdrive:-undefined} +! forceformat=${forceformat:-no} + for I in $(cat /proc/cmdline); do + case "$I" in + *=*) +--- 98,104 ---- default_drive=`echo ${drives} ${removable_drives} | awk '{print $1}'` - installdrive="undefined" -! forceformat="yes" - for I in `cat /proc/cmdline`; do case "$I" in *=*) eval $I;; esac ; done - - set ${drives} ${removable_drives} + installdrive=${installdrive:-undefined} +! forceformat=${forceformat:-yes} + for I in $(cat /proc/cmdline); do + case "$I" in + *=*) |