@ -24,7 +24,6 @@ modified.iso: orig.iso makefile ${preseed} isolinux ../playbook
mv "${boot_dir}/menu.cfg" "${boot_dir}/menu_installer.cfg"
cp -r isolinux/* "${boot_dir}"
cp -r ../playbook "${iso_dir}/playbook"
echo "localhost ansible_connection=local" > "${iso_dir}/playbook/hosts"
rm -rf "${iso_dir}/playbook/credentials"
chmod +w "${chksum_file}"
cd "$(dir ${chksum_file})" && "${sum_type}" `find . -follow -type f \! -name "$(notdir ${chksum_file})"` > "$(notdir ${chksum_file})"
@ -4,6 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )";
source "$DIR/_common.sh";
cd "$DIR";
echo "localhost ansible_connection=local" > hosts
if ansible-playbook site.yml; then
echo "Dieses Passwort wurde für das admin-Konto generiert:"
echo "$(cat credentials/admin)";