Fix preseed.cfg, make it finally install
This commit is contained in:
parent
ab400d170a
commit
1709c55a4b
|
@ -83,7 +83,6 @@ d-i apt-setup/local0/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=
|
|||
tasksel tasksel/first multiselect standard
|
||||
d-i pkgsel/include string openssh-server ubuntu-zfs libvirt-bin qemu-kvm vim git zsh mosh tmux
|
||||
d-i pkgsel/update-policy select No automatic updates
|
||||
d-i pkgsel/upgrade select full-upgrade
|
||||
|
||||
# GRUB
|
||||
d-i grub-installer/only_debian boolean true
|
||||
|
@ -92,10 +91,6 @@ d-i grub-installer/with_other_os boolean true
|
|||
# Postinstall
|
||||
d-i preseed/late_command string \
|
||||
in-target apt-get remove -y nano; \
|
||||
in-target chsh -s /bin/zsh; \
|
||||
echo 'PS1="%B%F{green}%n@%m%k %B%F{blue}%1~ %# %b%f%k"' > /target/root/.zshrc; \
|
||||
in-target chsh -s /bin/zsh ubuntu; \
|
||||
echo 'PS1="%B%F{green}%n@%m%k %B%F{blue}%1~ %# %b%f%k"' > /target/home/ubuntu/.zshrc; \
|
||||
in-target chown ubuntu:ubuntu /home/ubuntu/.zshrc; \
|
||||
|
||||
d-i finish-install/reboot_in_progress note
|
||||
|
|
Loading…
Reference in New Issue