package imagepull import _ "embed" //go:embed assets/first-boot.sh var firstBootScript string //go:embed assets/first-boot.service var firstBootUnit string // FirstBootScript returns the shell script that installs openssh-server // on first VM boot, dispatching on /etc/os-release. func FirstBootScript() string { return firstBootScript } // FirstBootUnit returns the systemd oneshot unit that runs the first-boot // script once after network-online, before sshd. func FirstBootUnit() string { return firstBootUnit } // FirstBoot guest paths — kept here so inject.go and future callers // share one source of truth. const ( FirstBootScriptPath = "/usr/local/libexec/banger-first-boot" FirstBootUnitName = "banger-first-boot.service" FirstBootMarkerDir = "/var/lib/banger" FirstBootMarkerPath = "/var/lib/banger/first-boot-pending" )