X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=packer%2Fubuntu1604-juju.json;fp=packer%2Fubuntu1604-juju.json;h=0000000000000000000000000000000000000000;hb=8ac0f088f6d30ee030f1ef6fe768da2f242c5046;hp=36b2509567070a680f3da7dcd56dbae983e9c935;hpb=4b57d46af8be1804faffa27a987e614c45056147;p=osm%2Fdevops.git diff --git a/packer/ubuntu1604-juju.json b/packer/ubuntu1604-juju.json deleted file mode 100644 index 36b25095..00000000 --- a/packer/ubuntu1604-juju.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "provisioners": [ - { - "type": "shell", - "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'", - "script": "scripts/setup.sh" - }, - { - "type": "shell", - "script": "scripts/install_packages.sh" - }, - { - "type": "file", - "source": "scripts/lxd-bridge", - "destination": "/tmp/lxd-bridge" - }, - { - "type": "shell", - "script": "scripts/lxd-setup.sh" - }, - { - "type": "shell", - "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" - } - ], - "variables": { - "build_dir": "jujubase-{{timestamp}}" - }, - "builders": [ - { - "type": "virtualbox-iso", - "boot_command": [ - "", - "", - "", - "", - "/install/vmlinuz", - " auto", - " console-setup/ask_detect=false", - " console-setup/layoutcode=us", - " console-setup/modelcode=pc105", - " debconf/frontend=noninteractive", - " debian-installer=en_US", - " fb=false", - " initrd=/install/initrd.gz", - " kbd-chooser/method=us", - " keyboard-configuration/layout=USA", - " keyboard-configuration/variant=USA", - " locale=en_US", - " netcfg/get_domain=vm", - " netcfg/get_hostname=vagrant", - " grub-installer/bootdev=/dev/sda", - " noapic", - " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg", - " -- ", - "" - ], - "boot_wait": "10s", - "disk_size": 40000, - "guest_os_type": "Ubuntu_64", - "headless": true, - "http_directory": "http", - "iso_urls": [ - "iso/ubuntu-16.04.5-server-amd64.iso", - "http://releases.ubuntu.com/16.04/ubuntu-16.04.5-server-amd64.iso" - ], - "iso_checksum_type": "sha256", - "iso_checksum": "c94de1cc2e10160f325eb54638a5b5aa38f181d60ee33dae9578d96d932ee5f8", - "ssh_username": "vagrant", - "ssh_password": "vagrant", - "ssh_port": 22, - "ssh_wait_timeout": "10000s", - "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", - "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", - "virtualbox_version_file": ".vbox_version", - "output_directory": "{{user `build_dir`}}", - "vm_name": "xenial-jujubase", - "vboxmanage": [ - [ - "modifyvm", - "{{.Name}}", - "--memory", - "4096" - ], - [ - "modifyvm", - "{{.Name}}", - "--cpus", - "2" - ] - ] - } - ], - "post-processors": [ - { - "output": "{{user `build_dir`}}/{{.Provider}}-jujubase.box", - "type": "vagrant", - "keep_input_artifact": true - } - ] -}