Fixes for trixie livebox images (dracut)
This commit is contained in:
parent
f95b220aa0
commit
fee6a0bc18
1 changed files with 6 additions and 6 deletions
|
|
@ -7,10 +7,10 @@ set -eu
|
|||
## Imporant for all virsh libvirt calls:
|
||||
export XDG_CONFIG_HOME="/var/tmp/vm/${UID}"
|
||||
|
||||
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"
|
||||
gnome-desktop "Gnome Desktop Debian GNU/Linux NFS")
|
||||
menu=(standard-edu "CLI Standard Debian GNU/Linux NFS"
|
||||
standard-edu-ram "CLI Standard Debian GNU/Linux RAM"
|
||||
kde-edu "KDE Plasma Desktop Debian GNU/Linux NFS"
|
||||
gnome-edu "Gnome Desktop Debian GNU/Linux NFS")
|
||||
img=$(dialog --clear --backtitle "Virtual Machine Chooser" \
|
||||
--title "Choose the Virtual Machine to Start" \
|
||||
--menu "Start VM:" 12 70 6 "${menu[@]}" 2>&1 >/dev/tty)
|
||||
|
|
@ -42,10 +42,10 @@ case "$img" in
|
|||
kargs+=(console=ttyS0)
|
||||
;;&
|
||||
*-ram)
|
||||
kargs+=("fetch=http://10.190.1.2/d-i/n-live/${img%-ram}/live/filesystem.squashfs")
|
||||
kargs+=("root=live:nfs4:livebox:/images/${img%-ram}/live/filesystem.squashfs rd.live.ram=1")
|
||||
;;
|
||||
*)
|
||||
kargs+=(netboot=nfs "nfsroot=10.190.1.2:/srv/nfs/debian-live/${img%-ram}")
|
||||
kargs+=("root=live:nfs4:livebox:/images/${img%-ram}/live/filesystem.squashfs")
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue