Created
August 29, 2013 16:19
-
-
Save pierreozoux/6380251 to your computer and use it in GitHub Desktop.
reboot_gentoo not working
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline": [ | |
"echo '1st script'", | |
"reboot", | |
"ifconfig enp0s3 down" | |
] | |
}, | |
{ | |
"type": "shell", | |
"inline": [ | |
"echo '2nd script'", | |
"", | |
"" | |
] | |
} | |
], | |
"builders": [ | |
{ | |
"type": "virtualbox", | |
"name": "virtualbox-gentoo", | |
"boot_command": [ | |
"gentoo-nofb<enter><wait10><wait10><wait10><enter><wait10><wait10>", | |
"passwd<enter><wait>", | |
"vagrant<enter><wait>", | |
"vagrant<enter><wait>", | |
"/etc/init.d/sshd start<enter><wait>" | |
], | |
"guest_os_type": "Gentoo", | |
"iso_url": "http://distfiles.gentoo.org/releases/x86/autobuilds/20130820/install-x86-minimal-20130820.iso", | |
"iso_checksum": "1dae36fdead310a3a1c37c71b26487f0cf14ef7f029229c7d4af1df8cec8b7236ade7dd7cf1e1a32daecd1f7bb126902c98242f0885c0895cb6f9658fdcfc5ad", | |
"iso_checksum_type": "sha512", | |
"ssh_username": "root", | |
"ssh_password": "vagrant", | |
"virtualbox_version_file": ".vbox_version" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment