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
| give_info = "true" | |
| count_shared_disk = 2 | |
| size_shared_disk = 10 | |
| #path_shared_disk = "/some/path" | |
| config.vm.provider :virtualbox do |vb| | |
| vb.name = vm_name_db + "." + Time.now.strftime("%y%m%d%H%M") | |
| vb.customize ["modifyvm", :id, "--memory", memory_DB_INSTANCES] | |
| vb.customize ["modifyvm", :id, "--cpus", num_CORE] | |
| vb.customize ["modifyvm", :id, "--groups", "/collab"] | |
| #first shared disk port |
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
| <domain type='kvm'> | |
| <name>trusty</name> | |
| <memory unit='KiB'>524288</memory> | |
| <currentMemory unit='KiB'>524288</currentMemory> | |
| <vcpu placement='static'>1</vcpu> | |
| <os> | |
| <type arch='x86_64' machine='pc-1.2'>hvm</type> | |
| <boot dev='hd'/> | |
| </os> |
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
| trusty64-kvm-20140418.box: gzip compressed data, from Unix, last modified: Fri Apr 18 19:04:15 2014 |
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
| 2014/11/09 19:03:41 Packer Version: 0.7.1 | |
| 2014/11/09 19:03:41 Packer Target OS/Arch: darwin amd64 | |
| 2014/11/09 19:03:41 Built with Go Version: go1.3.1 | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: amazon-chroot = /Users/kikitux/bin/packer-builder-amazon-chroot | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: amazon-ebs = /Users/kikitux/bin/packer-builder-amazon-ebs | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: amazon-instance = /Users/kikitux/bin/packer-builder-amazon-instance | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: digitalocean = /Users/kikitux/bin/packer-builder-digitalocean | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: docker = /Users/kikitux/bin/packer-builder-docker | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: googlecompute = /Users/kikitux/bin/packer-builder-googlecompute | |
| 2014/11/09 19:03:41 [DEBUG] Discoverd plugin: null = /Users/kikitux/bin/packer-builder-null |
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
| { | |
| "variables": { | |
| "aws_access_key": "", | |
| "aws_secret_key": "" | |
| }, | |
| "builders": [ | |
| { | |
| "type": "amazon-ebs", | |
| "access_key": "{{user `aws_access_key`}}", | |
| "secret_key": "{{user `aws_secret_key`}}", |
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
| #!/usr/bin/env perl | |
| use 5.014; | |
| use warnings; | |
| use strict; | |
| use Consul; | |
| use Sys::Hostname; | |
| use Try::Tiny; |
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
| rm -f fedora-atomic-virtualbox.box | |
| rm -rf box/output-virtualbox/ | |
| [1;32mvirtualbox output will be in this color.[0m | |
| [1;32mWarnings for build 'virtualbox': | |
| [0m | |
| [1;32m* A checksum type of 'none' was specified. Since ISO files are so big, | |
| a checksum is highly recommended.[0m | |
| [1;32m[0m | |
| [1;32m==> virtualbox: Downloading or copying ISO[0m |
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
| reg query HKEY_CLASSES_ROOT\Installer\Products\ /s /f "VirtualBox" /t REG_SZ | |
| HKEY_CLASSES_ROOT\Installer\Products\6E4CC65F4CFD78B4AB9E6C503C500EC5 | |
| ProductName REG_SZ Oracle VM VirtualBox 4.3.6 | |
| ProductIcon REG_SZ C:\Windows\Installer\{F56CC4E6-DFC4-4B87-BAE9-C605C305E05C}\IconVirtualBox | |
| HKEY_CLASSES_ROOT\Installer\Products\6E4CC65F4CFD78B4AB9E6C503C500EC5\SourceList | |
| PackageName REG_SZ VirtualBox-4.3.6-r91406-MultiArch_x86.msi |
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
| $ head -n17 packer-vagrant-oracle65-install_crs_db.json | |
| { | |
| "variables": { | |
| "ssh_name": "root", | |
| "ssh_pass": "root", | |
| "hostname": "vagrant-oracle65", | |
| "outputfile": "oracle65.box", | |
| "rootfs" : "ext4", | |
| "swapsize": "6000", | |
| "harddisk2_size": "32000", |
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
| { | |
| "variables": { | |
| "ssh_name": "root", | |
| "ssh_pass": "root", | |
| "hostname": "vagrant-oracle65", | |
| "outputfile": "oracle65.box", | |
| "rootfs" : "btrfs", | |
| "swapsize": "6000", | |
| "harddisk2_size": "32000", | |
| "harddisk3_size": "32000", |