case "${ACTION}" in
post)
	setcap cap_dac_override,cap_sys_ptrace+ep usr/bin/systemd-detect-virt || :

	if [ -c dev/urandom -a ! -f etc/machine-id ]; then
		systemd-machine-id-setup
		systemctl enable getty@.service || :
	fi
	if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
		systemctl --system daemon-reexec || :
	fi
	;;
esac
