diff options
Diffstat (limited to 'appliance/init')
-rwxr-xr-x | appliance/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appliance/init b/appliance/init index a3f47840..f3999160 100755 --- a/appliance/init +++ b/appliance/init @@ -78,7 +78,7 @@ if ! grep -sq guestfs_rescue=1 /proc/cmdline; then fi # Use appliance in rescue mode, also used by the virt-rescue command. -TERM=linux ;# XXX library should pass this from library's environment +eval $(grep -Eo 'TERM=[^[:space:]]+' /proc/cmdline) PS1='><rescue> ' export TERM PS1 echo |