Skip to content

Instantly share code, notes, and snippets.

@matsuu
Last active August 29, 2015 14:00
Show Gist options
  • Save matsuu/1a4a6aa2cd7c7ee4867c to your computer and use it in GitHub Desktop.
Save matsuu/1a4a6aa2cd7c7ee4867c to your computer and use it in GitHub Desktop.
Packer for ProjectAtomic
{
"builders": [
{
"boot_command": [
"<tab> linux enforcing=0 ks=http://rpm-ostree.cloud.fedoraproject.org/project-atomic/install/rawhide/fedora-atomic.ks<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 8192,
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Fedora_64",
"http_directory": "http",
"iso_checksum": "45bc466057cdb20e9243fe44ef3cdf60",
"iso_checksum_type": "md5",
"iso_url": "http://rpm-ostree.cloud.fedoraproject.org/project-atomic/install/rawhide/boot.iso",
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"512"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-project-atomic"
}
],
"post-processors": [
{
"type": "vagrant",
"output": "./packer/vagrant-boxes/project-atomic.box"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment