Code: Select all
d-i preseed/late_command string \
sed -i '/cdrom/d' /target/etc/apt/sources.list;\
echo "kerry ALL=(ALL:ALL) NOPASSWD:ALL" >> /target/etc/sudoers;\
cp /cdrom/playbooks.tar.gz /target/home/kerry;\
tar xzf /target/home/kerry/playbooks.tar.gz -C /target/home/kerry;\
chroot /target mkdir /dev/shm;\
chroot /target mount -t tmpfs none /dev/shm;\
chroot /target mkdir /dev/pts;\
chroot /target mount -t devpts -o gid=4,mode=620 none /dev/pts;\
chroot /target runuser -l kerry -c 'ansible-playbook -i "localhost," -c local /home/kerry/playbooks/base.yaml';\
chroot /target runuser -l kerry -c 'ansible-playbook -i "localhost," -c local /home/kerry/playbooks/desktop-mate.yaml';\
rm /target/home/kerry/playbooks.tar.gz;\
rm -rf /target/home/kerry/playbooks
Unfortunately this was not successful, failing at the installation of mate step. (Just includes a few packages and that's really it)
The installation log is almost a meg so I will not include it here, but I did see the following line:
Code: Select all
Setting up fuse (2.9.9-1) ...\r\nlibkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
How would I go about working around this?