enable the warewulf service

This commit is contained in:
Christian Goll
2022-11-30 11:20:39 +01:00
parent b73cf0875b
commit 9ec86a18b4
4 changed files with 12 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ fi
sync_dir() {
DIR=$1
test -e /host/${DIR} || mkdir -pv /host/${DIR}
test -e /host/${DIR} && (rsync -au ${DIR} `dirname /host/${DIR}`; echo "updating $DIR")
test -e /host/${DIR} && (rsync -au --ignore-existing ${DIR} `dirname /host/${DIR}`; echo "updating $DIR")
}
# For podman, cp a systemd unit for starting on boot