Commit 94bf7082 authored by Louis-Philippe Véronneau's avatar Louis-Philippe Véronneau

add username, password and timezone to the kernel command parameters for the USB install

parent f94b9826
Pipeline #34065 passed with stage
in 2 minutes and 41 seconds
...@@ -100,6 +100,12 @@ machine (https://salsa.debian.org/debconf-video-team/ansible) ...@@ -100,6 +100,12 @@ machine (https://salsa.debian.org/debconf-video-team/ansible)
**playbook\_branch** - the git branch in the playbook repo to use (master) **playbook\_branch** - the git branch in the playbook repo to use (master)
**username** - username of the main user
**user\_password\_crypted** - password crypted using `mkpasswd -m sha-256`
**timezone** - timezone string respecting tzdata format
**inventory\_repo** - the repo containing the inventory/hosts file to use. If **inventory\_repo** - the repo containing the inventory/hosts file to use. If
it is blank, the playbook repo is used. it is blank, the playbook repo is used.
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# template of default parameters that can be overridden # template of default parameters that can be overridden
# hostname=voctotest # hostname=voctotest
# username=voctotest
# user_password_crypted=\$5\$Wif9syMJU1FcbvI\$zD4fP9LDI2rZoiTJMODG59WUdtulZaelqU1xHoiJFtC # 1234567890
# timezone=Europe/Brussels
# domain=local.lan # domain=local.lan
# where to get what installer binaries: # where to get what installer binaries:
......
inventory_repo=https://salsa.debian.org/debconf-video-team/ansible-inventory inventory_repo=https://salsa.debian.org/debconf-video-team/ansible-inventory
username=videoteam
user_password_crypted=\$5\$qBzQnioH3b0\$eCSy9wo/T7MGPzdLIxuHa.6dpNkz2W.KpajZA5XZpwC
...@@ -18,6 +18,9 @@ fi ...@@ -18,6 +18,9 @@ fi
# default parameters that can be over ridden by $2 passed config file # default parameters that can be over ridden by $2 passed config file
hostname=voctotest hostname=voctotest
username=voctotest
user_password_crypted=\$5\$Wif9syMJU1FcbvI\$zD4fP9LDI2rZoiTJMODG59WUdtulZaelqU1xHoiJFtC # 1234567890
timezone=Europe/Brussels
domain=local.lan domain=local.lan
# where to get what installer binaries: # where to get what installer binaries:
...@@ -84,6 +87,9 @@ ${preseed} ...@@ -84,6 +87,9 @@ ${preseed}
partman-auto/disk=${disk} partman-auto/disk=${disk}
grub-installer/bootdev=${bootdev} grub-installer/bootdev=${bootdev}
hostname=${hostname} hostname=${hostname}
username=${username}
user_password_crypted=${user_password_crypted}
timezone=${timezone}
domain=${domain} domain=${domain}
hw-detect/load_firmware=${load_firmware} hw-detect/load_firmware=${load_firmware}
preseed/early_command=\"anna-install eatmydata-udeb\" preseed/early_command=\"anna-install eatmydata-udeb\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment