mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
Update podman_ha_setup.sh
This commit is contained in:
parent
25b8de467b
commit
0738894e8a
@ -123,10 +123,16 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840
|
|||||||
EOF
|
EOF
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||||
|
|
||||||
podman generate systemd \
|
podman generate systemd \
|
||||||
--new --name homeassistant \
|
--new --name homeassistant \
|
||||||
> /etc/systemd/system/homeassistant.service
|
> /etc/systemd/system/homeassistant.service
|
||||||
systemctl enable homeassistant &>/dev/null
|
systemctl enable homeassistant &>/dev/null
|
||||||
|
|
||||||
|
podman generate systemd \
|
||||||
|
--new --name yacht \
|
||||||
|
> /etc/systemd/system/yacht.service
|
||||||
|
systemctl enable yacht &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
||||||
rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user