Add firstboot onboarding and prep/check tooling
This commit is contained in:
@@ -22,6 +22,13 @@ API_PACKAGE_DIR = API_DIR / "pikit_api"
|
||||
BACKUP_ROOT = pathlib.Path("/var/backups/pikit")
|
||||
TMP_ROOT = pathlib.Path("/var/tmp/pikit-update")
|
||||
|
||||
# First-boot state
|
||||
FIRSTBOOT_DIR = pathlib.Path("/var/lib/pikit/firstboot")
|
||||
FIRSTBOOT_STATE = FIRSTBOOT_DIR / "state.json"
|
||||
FIRSTBOOT_LOG = FIRSTBOOT_DIR / "firstboot.log"
|
||||
FIRSTBOOT_ERROR = FIRSTBOOT_DIR / "firstboot.error"
|
||||
FIRSTBOOT_DONE = FIRSTBOOT_DIR / "firstboot.done"
|
||||
|
||||
# Apt / unattended-upgrades
|
||||
APT_AUTO_CFG = pathlib.Path("/etc/apt/apt.conf.d/20auto-upgrades")
|
||||
APT_UA_BASE = pathlib.Path("/etc/apt/apt.conf.d/50unattended-upgrades")
|
||||
|
||||
Reference in New Issue
Block a user