This file contains 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
public-yum-downloader.sh -h | |
-h|--help this screen | |
-a|--arch=<arch> architecture (ie. i386 or x86_64) | |
-R|--release=<release> release to download | |
-P|--path=<path> destination path of download (ie. /var/www/html) | |
-p|--proxy=<url> proxy (ie http://proxy:3128) | |
-r|--repo=<repo> manual repo download (ie. ol6_addons) | |
-m|--min minimal package download for LXC host | |
-u|--url=<url> local yum repo url (ie. http://mirandaa00) | |
-s|--src download source rpm |
This file contains 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
[root@vagrant-oracle65 ~]# rm -fr /var/cache/ | |
[root@vagrant-oracle65 ~]# lxc-create -n mygentoo3 -t gentoo -- --autologin | |
lxc-create: No config file specified, using the default config /etc/lxc/default.conf | |
### set_default_arch: default arch/variant autodetect... | |
=> Got: arch=amd64 variant=amd64 | |
Attempting to obtain an exclusive lock (timeout: 60 sec) named "cache-amd64-amd64"... | |
=> done. | |
=> Executing "do_all" | |
###### cache_setup(): doing cache preparation |
This file contains 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", |
This file contains 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 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 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 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 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 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 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 |
OlderNewer