You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IUT/vdn/tools/podman-exec-cmds.sh

24 lines
580 B

#/bin/bash
DIST=vdn-bullseye
apt-get update --allow-releaseinfo-change
apt-get -y upgrade
apt-get -y install kmod ssh vim less wget x11-apps locales
#echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
#adduser --disabled-password --gecos "" test
#echo 'test:iut*' | chpasswd
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
sed -i -e 's/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale LANG=fr_FR.UTF-8
/home/user/$DIST/bin/vdn-prepare -f
rm -f /root/.bash_history
apt-get clean