prepare-volatile-img.sh: don't run as root
This is no longer necessary since volatile.img is formated inside the VM. This also fixes DispVM creation if the user sets a restrictive umask for root. Maybe related to #2200.
This commit is contained in:
parent
0968c25486
commit
09b49feea6
@ -1,9 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "`id -u`" != "0" ]; then
|
||||
exec sudo $0 $*
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
if ! echo $PATH | grep -q sbin; then
|
||||
|
Loading…
Reference in New Issue
Block a user