Fix VMs with home on CIFS.
This commit is contained in:
parent
d4f6d91f15
commit
07f34be546
1 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,9 @@
|
|||
#
|
||||
set -eu
|
||||
|
||||
## Imporant for all virsh libvirt calls:
|
||||
export XDG_CONFIG_HOME="/tmp/${UID}/.config"
|
||||
|
||||
menu=(standard "CLI Standard Debian GNU/Linux NFS"
|
||||
standard-ram "CLI Standard Debian GNU/Linux RAM"
|
||||
kde-desktop "KDE Plasma Desktop Debian GNU/Linux NFS"
|
||||
|
@ -56,7 +59,7 @@ done
|
|||
## FIXME: use passt, needs more settings for correct DNS/gateway
|
||||
# type=user,xpath1.create=./backend,xpath2.set=./backend/@type=passt,xpath3.create=./ip,xpath4.set=./ip/@family=ipv4,xpath5.set=./ip/@address=172.16.1.1,xpath6.set=./ip/@prefix=24,xpath7.create=./portForward,xpath8.set=./portForward/@proto=tcp,xpath9.set=./portForward/range/@start=2001,xpath10.set=./portForward/range/@end=2500,xpath11.set=./portForward/range/@to=1
|
||||
|
||||
http_proxy='' XDG_CONFIG_HOME="/tmp/${UID}/.config" \
|
||||
http_proxy='' \
|
||||
exec virt-install \
|
||||
--name "$img" \
|
||||
--osinfo debiantesting \
|
||||
|
|
Loading…
Add table
Reference in a new issue