Improved on the post-install provisioning
This commit is contained in:
@ -135,6 +135,7 @@ tasksel tasksel/first multiselect standard
|
||||
# Individual additional packages to install
|
||||
d-i pkgsel/include string \
|
||||
apt-transport-https \
|
||||
bash \
|
||||
curl \
|
||||
dnsutils \
|
||||
openssh-server \
|
||||
@ -158,4 +159,5 @@ d-i finish-install/reboot_in_progress note
|
||||
#d-i preseed/early_command string anna-install some-udeb
|
||||
# This command is run just before the install finishes, but when there is still a usable /target directory.
|
||||
#d-i preseed/late_command string in-target wget -O /root/post-install.sh http://tarsonis.metaunix.net/scripts/post-install.sh; in-target chmod +x /root/post-install.sh; in-target /root/post-install.sh
|
||||
d-i preseed/late_command string in-target usermod -aG sudo xadmin; in-target systemctl enable qemu-guest-agent
|
||||
d-i preseed/late_command string in-target systemctl enable qemu-guest-agent; \
|
||||
echo 'xadmin ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/xadmin;
|
||||
|
Reference in New Issue
Block a user