Skip to content

Instantly share code, notes, and snippets.

@constrict0r
Last active April 24, 2019 06:05
Show Gist options
  • Save constrict0r/12e3b9006dac3157fdfd21fa6324b8e5 to your computer and use it in GitHub Desktop.
Save constrict0r/12e3b9006dac3157fdfd21fa6324b8e5 to your computer and use it in GitHub Desktop.
Ansible playbook to preseed a Debian iso.
ansible-playbook -i tests/inventory tests/test.yml --ask-become-pass \
--extra-vars 'iso_path=file:///home/username/debian-9.7.0-amd64-netinst.iso \
firmware_path=/home/username/firmware \
partype=whole \
rootpass="1234" \
userpass="1234" \
networkname="MY NETWORK" \
networkpass="my-network-pass"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment