Compare commits
2 commits
56fe0f1e54
...
fb9ffa53bb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb9ffa53bb | ||
|
|
fee6a0bc18 |
2 changed files with 14 additions and 6 deletions
|
|
@ -8,3 +8,11 @@
|
||||||
- bookworm.yml
|
- bookworm.yml
|
||||||
- cleanup.yml
|
- cleanup.yml
|
||||||
when: ansible_distribution_release == "bookworm"
|
when: ansible_distribution_release == "bookworm"
|
||||||
|
|
||||||
|
- name: Set chromium gl-flags fixing AMD graphic issues
|
||||||
|
ansible.builtin.copy:
|
||||||
|
dest: /etc/chromium.d/fvs
|
||||||
|
content: |
|
||||||
|
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=desktop"
|
||||||
|
when: ansible_board_vendor == "LENOVO" and
|
||||||
|
(ansible_board_name == "312D" or ansible_board_name == "312A")
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@ set -eu
|
||||||
## Imporant for all virsh libvirt calls:
|
## Imporant for all virsh libvirt calls:
|
||||||
export XDG_CONFIG_HOME="/var/tmp/vm/${UID}"
|
export XDG_CONFIG_HOME="/var/tmp/vm/${UID}"
|
||||||
|
|
||||||
menu=(standard "CLI Standard Debian GNU/Linux NFS"
|
menu=(standard-edu "CLI Standard Debian GNU/Linux NFS"
|
||||||
standard-ram "CLI Standard Debian GNU/Linux RAM"
|
standard-edu-ram "CLI Standard Debian GNU/Linux RAM"
|
||||||
kde-desktop "KDE Plasma Desktop Debian GNU/Linux NFS"
|
kde-edu "KDE Plasma Desktop Debian GNU/Linux NFS"
|
||||||
gnome-desktop "Gnome Desktop Debian GNU/Linux NFS")
|
gnome-edu "Gnome Desktop Debian GNU/Linux NFS")
|
||||||
img=$(dialog --clear --backtitle "Virtual Machine Chooser" \
|
img=$(dialog --clear --backtitle "Virtual Machine Chooser" \
|
||||||
--title "Choose the Virtual Machine to Start" \
|
--title "Choose the Virtual Machine to Start" \
|
||||||
--menu "Start VM:" 12 70 6 "${menu[@]}" 2>&1 >/dev/tty)
|
--menu "Start VM:" 12 70 6 "${menu[@]}" 2>&1 >/dev/tty)
|
||||||
|
|
@ -42,10 +42,10 @@ case "$img" in
|
||||||
kargs+=(console=ttyS0)
|
kargs+=(console=ttyS0)
|
||||||
;;&
|
;;&
|
||||||
*-ram)
|
*-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
|
esac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue