Comment 8 for bug 1637611

Revision history for this message
Oliver Grawert (ogra) wrote :

i uploaded the following now, please check if this is enough:

ogra@anubis:~$ cat live-build/ubuntu-core/hooks/19-remove-cloud-init-locale-test.chroot
#!/bin/sh

set -e

# bug #1637611
echo "turning /etc/profile.d/Z99-cloud-locale-test.sh into a no-op"
if [ -e /etc/profile.d/Z99-cloud-locale-test.sh ]; then
 cat >/etc/profile.d/Z99-cloud-locale-test.sh<<EOF
#!/bin/sh

return 0
EOF
fi