projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for vim emu installation
[osm/devops.git]
/
packer
/
ubuntu1604-juju.json
diff --git
a/packer/ubuntu1604-juju.json
b/packer/ubuntu1604-juju.json
index
79b49ed
..
15db312
100644
(file)
--- a/
packer/ubuntu1604-juju.json
+++ b/
packer/ubuntu1604-juju.json
@@
-21,7
+21,17
@@
},
{
"type": "shell",
},
{
"type": "shell",
- "script": "scripts/juju-setup.sh"
+ "inline": ["echo 'vagrant' | sudo shutdown -r now"],
+ "expect_disconnect": "true"
+ },
+ {
+ "type": "shell",
+ "script": "scripts/juju-setup.sh",
+ "pause_before": "10s"
+ },
+ {
+ "type": "shell",
+ "script": "scripts/cleanup.sh"
}
],
"builders": [
}
],
"builders": [
@@
-54,7
+64,7
@@
"<enter><wait>"
],
"boot_wait": "10s",
"<enter><wait>"
],
"boot_wait": "10s",
- "disk_size":
1536
0,
+ "disk_size":
2048
0,
"guest_os_type": "Ubuntu_64",
"headless": true,
"http_directory": "http",
"guest_os_type": "Ubuntu_64",
"headless": true,
"http_directory": "http",
@@
-71,7
+81,8
@@
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
- "vm_name": "packer-ubuntu-16.04-amd64-juju",
+ "output_directory": "jujubase-{{timestamp}}",
+ "vm_name": "xenial-jujubase",
"vboxmanage": [
[
"modifyvm",
"vboxmanage": [
[
"modifyvm",
@@
-87,5
+98,12
@@
]
]
}
]
]
}
+ ],
+ "post-processors": [
+ {
+ "output": "jujubase-{{timestamp}}/{{.Provider}}-jujubase.box",
+ "type": "vagrant",
+ "keep_input_artifact": true
+ }
]
}
]
}