update base debian template

This commit is contained in:
Emmanuel Garette 2022-10-01 19:00:20 +02:00
parent 52e612afba
commit 349a035ad0
3 changed files with 14 additions and 0 deletions

View file

@ -4,7 +4,12 @@
<service name="debian" manage="False">
<file engine="none" source="tmpfile-tmp.conf">/tmpfiles.d/0tmp.conf</file>
<file engine="none">/etc/default/locale</file>
<file engine="none" source="sysuser-debian.conf">/sysusers.d/debian.conf</file>
</service>
<service name='apt-daily' disabled="True"/>
<service name='apt-daily-upgrade' disabled="True"/>
<service name='avahi-daemon' disabled="True"/>
<service name='cron' disabled="True"/>
</services>
<variables>
<variable name="os_name" type="string" description="Nom de l'OS" hidden="True">

View file

@ -1,2 +1,8 @@
rm -f $IMAGE_NAME_RISOTTO_IMAGE_DIR/etc/resolv.conf
ln -s ../run/systemd/resolve/stub-resolv.conf $IMAGE_NAME_RISOTTO_IMAGE_DIR/etc/resolv.conf
#mkdir $IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/lib/systemd/system/network-online.target.wants
#chmod 775 $IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/lib/systemd/system/network-online.target.wants
#ln -s /usr/lib/systemd/system/systemd-networkd.service "$IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/lib/systemd/system/dbus-org.freedesktop.network1.service"
#ln -s /usr/lib/systemd/system/systemd-networkd.service "$IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/lib/systemd/system/multi-user.target.wants/systemd-networkd.service"
#ln -s /usr/lib/systemd/system/systemd-networkd-wait-online.service "$IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/lib/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service"
#ln -s /usr/lib/systemd/system/systemd-networkd.socket "$IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/lib/systemd/system/sockets.target.wants/systemd-networkd.socket"

View file

@ -0,0 +1,3 @@
g Debian-exim 109
u Debian-exim 104:109 "Exim" /var/spool/exim4 /usr/sbin/nologin
g kvm 103