From bc20fce1bdb7e0f26eeff60efbeb86d3889e2773 Mon Sep 17 00:00:00 2001 From: mgrl39 Date: Sat, 25 May 2024 01:06:32 +0200 Subject: [PATCH] Create 007 --- src/iso-conf/meta-data/007 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/iso-conf/meta-data/007 diff --git a/src/iso-conf/meta-data/007 b/src/iso-conf/meta-data/007 new file mode 100644 index 0000000..7c92d9e --- /dev/null +++ b/src/iso-conf/meta-data/007 @@ -0,0 +1,37 @@ +#cloud-config +autoinstall: + version: 1 + identity: + hostname: {hostname} + username: {username} + password: {password} + storage: + layout: + name: direct + ssh: + install-server: yes + locale: es_ES.UTF-8 + keyboard: + layout: es + variant: '' + packages: + - ubuntu-desktop + user-data: + packages: + - dbus-x11 + - slapd + - ldap-utils + runcmd: + - wget https://github.com/DonComProject/arenita/raw/main/src/deb-files/veyon_4.8.3.0-ubuntu.jammy_amd64.deb -O /tmp/veyon.deb + - dpkg -i /tmp/veyon.deb + - apt-get install -f -y + - wget https://raw.githubusercontent.com/DonComProject/arenita/main/img/doncom_banner.jpg -O /usr/share/backgrounds/doncom_banner.jpg + - export DISPLAY=:0 + - export XAUTHORITY=/home/myusername/.Xauthority + - gsettings set org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/doncom_banner.jpg' + - echo "slapd slapd/no_configuration boolean false" | debconf-set-selections + - echo "slapd slapd/domain string doncom" | debconf-set-selections + - echo "slapd shared/organization string 'doncom'" | debconf-set-selections + - echo "slapd slapd/password1 password davidtomas" | debconf-set-selections + - echo "slapd slapd/password2 password davidtomas" | debconf-set-selections + - dpkg-reconfigure -f noninteractive slapd