clean the environment but keep important variables
building the image fails otherwise (encoding issues, missing PATH, etc.); took invocation from https://unix.stackexchange.com/a/49057
This commit is contained in:
parent
5d5fca8794
commit
dff4a40534
|
@ -40,7 +40,8 @@ issuing the following:
|
|||
|
||||
```shell
|
||||
umask 022
|
||||
sudo env -i ./vmdb2/vmdb2 --output raspi3.img raspi3.yaml --log raspi3.log
|
||||
sudo env -i HOME="$HOME" LC_CTYPE="${LC_ALL:-${LC_CTYPE:-$LANG}}" PATH="$PATH" USER="$USER" \
|
||||
./vmdb2/vmdb2 --output raspi3.img raspi3.yaml --log raspi3.log
|
||||
```
|
||||
|
||||
## Installing the image onto the Raspberry Pi 3
|
||||
|
|
Loading…
Reference in New Issue