Changing post-ks on client and preseeding to hopefully cope with curl and bash.
This commit is contained in:
parent
f72e6671d0
commit
bef75210f5
@ -113,7 +113,7 @@ d-i preseed/late_command string in-target apt-get -y upgrade; \
|
||||
in-target apt-get -y purge libnss-mdns unity-webapps-common zeitgeist-core zeitgeist-datahub; \
|
||||
in-target apt-get -y autoremove; \
|
||||
in-target sed -i'' -e 's/ubuntu/gnome-fallback/g' /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf \
|
||||
in-target curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/post-client-ks.sh | bash >/root/post-ks.log 2>&1
|
||||
in-target curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/post-client-ks.sh | in-target /bin/bash >/target/root/post-ks.log 2>&1
|
||||
|
||||
# Grub installation on MBR
|
||||
d-i grub-installer/only_debian boolean true
|
||||
|
@ -6,4 +6,4 @@ echo $TARGETHOSTNAME > /etc/hostname
|
||||
sed -i '' -e "s/kickseed/$TARGETHOSTNAME/g" /etc/hosts
|
||||
|
||||
# Installo i file necessari per ansible.
|
||||
curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/ansible-pull/init-ansible.sh | bash
|
||||
curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/ansible-pull/init-ansible.sh | /bin/bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user