Commit graph

1084 commits

Author SHA1 Message Date
David Schoen
f9d118840b set hostname for 1.0 as required by provisioning
In a fresh checkout:

    $ ( cd development; ln -s Vagrantfile{.1.0,}; vagrant up )

Was failing with:

    err: /Stage[main]//Exec[config-lxc]/returns: change from notrun to 0
    failed: cp /vagrant/development/lxc-configs/quantal64 /etc/default/lxc
    returned 1 instead of one of [0] at
    /tmp/vagrant-puppet/manifests/site.pp:19

because the hostname was "quantal64" and the puppet manifest attempts to
install the lxc-config based on the hostname name of the VM.
2013-03-15 09:16:50 +11:00
Fabio Rehm
ef19c1e0b3 Update README with Vagrant 1.1 note 2013-03-14 16:24:33 -03:00
Fabio Rehm
dc287ad040 Add port forwarding note to readme 2013-03-12 15:41:16 -03:00
Fabio Rehm
6dcb118f86 Fix LXC_START_LOG_FILE support 2013-03-12 15:31:45 -03:00
Fabio Rehm
fa49c75eb8 Update README base box url 2013-03-12 15:10:25 -03:00
Fabio Rehm
30ec42b36b Fix bug with lxc-start arguments 2013-03-12 15:10:25 -03:00
Fabio Rehm
08221913dd Fix dev boxes gem home on .gemrc 2013-03-12 15:10:25 -03:00
Fabio Rehm
d12f5c1d62 Install tmux on dev boxes 2013-03-12 15:10:24 -03:00
Fabio Rehm
ae50b08806 Ensure we can boot nested containers from vbox dev machine 2013-03-12 15:10:24 -03:00
Fabio Rehm
5e90e102c2 Install fping on dev boxes 2013-03-12 15:10:24 -03:00
Fabio Rehm
aaef306069 Override lxc default configs on dev boxes based on hostname to avoid conflicting IPs 2013-03-12 15:10:24 -03:00
Fabio Rehm
beaffaae68 Consolidates 1.1 Vagrantfiles into a single one 2013-03-12 15:10:24 -03:00
Fabio Rehm
4de5411a67 Logging output reviewed (closes #2) 2013-03-11 00:13:48 -03:00
Fabio Rehm
03f823130c Wait for container to be accessible after starting it 2013-03-11 00:12:01 -03:00
Fabio Rehm
59267d01e6 Get rid of a few TODOs that does not make sense anymore 2013-03-11 00:10:00 -03:00
Fabio Rehm
f2810da629 Add support for setting host name 2013-03-11 00:09:36 -03:00
Fabio Rehm
270cbd8a51 Move forced halt code into its own action 2013-03-11 00:08:28 -03:00
Fabio Rehm
02d56474df Fix typo on fping package name on readme 2013-03-10 22:15:53 -03:00
Fabio Rehm
431958899c Fix code related to Container#assigned_ip retryal attempts 2013-03-10 22:15:53 -03:00
Fabio Rehm
e512fe0b9d Update readme with ifping dependency 2013-03-10 22:02:46 -03:00
Fabio Rehm
5f8c3955a5 Add pending spec for subnet ping code 2013-03-10 21:59:46 -03:00
Fabio Rehm
0f618a008e Ping everyone on the lxc-bridge subnet in case we cant identify container ip from arp
References #31
2013-03-10 21:57:47 -03:00
Fabio Rehm
550b926497 Clean up Container object by making use of the CLI 2013-03-10 21:15:43 -03:00
Fabio Rehm
228e03ecbe Implement CLI object required functionality to refactor the Container object 2013-03-10 21:15:43 -03:00
Fabio Rehm
567ede7db6 Begin to make use of CLI from LXC::Container 2013-03-10 19:23:05 -03:00
Fabio Rehm
811d9a4b29 Begin to extract a lxc cli object 2013-03-10 19:15:31 -03:00
Fabio Rehm
30b1420ced Ensure template-name and rootfs-cache-path are set prior to container creation 2013-03-10 02:34:17 -03:00
Fabio Rehm
1b9dcf5aad Comment out and remove blank actions 2013-03-10 02:33:22 -03:00
Fabio Rehm
4f6c2b717a Remove shell provisioner script for installing puppet on containers 2013-03-10 02:31:41 -03:00
Fabio Rehm
731ce84d5a Install manpages and puppet on base box 2013-03-10 02:27:19 -03:00
Fabio Rehm
b9013a4586 Set base box hostname to quantal64 2013-03-10 02:00:03 -03:00
Fabio Rehm
d2a1eeeabc Use arp to grab container ip instead of dig (it seems to be more reliable)
References: #31
2013-03-10 01:55:18 -03:00
Fabio Rehm
238b5cd681 Move vendored_vagrant require to the right place 2013-03-10 00:45:27 -03:00
Fabio Rehm
62ecb3cee1 Remove leftover from spike 2013-03-10 00:39:05 -03:00
Fabio Rehm
0f282eae54 Git ignore ctags 2013-03-10 00:35:07 -03:00
Fabio Rehm
54f94e4d95 Remove old script to setup lxc dev container 2013-03-09 20:27:58 -03:00
Fabio Rehm
a2108cd362 Use local cache for example box as well 2013-03-09 20:24:26 -03:00
Fabio Rehm
1e49de0a91 Update README 2013-03-09 20:23:45 -03:00
Fabio Rehm
cc0779c7cb Update vendored vagrant 2013-03-09 19:22:53 -03:00
Fabio Rehm
ef00eabd23 Remove apt-get clean from upgrade-kernel script used for provisioning
VB dev box to leverage vagrant boxes cache
2013-03-09 19:22:36 -03:00
Fabio Rehm
27d19e49b1 Remove trailing slash from archives shared folder, looks like VB provider was having a hard time dealing with it 2013-03-09 17:51:42 -03:00
Fabio Rehm
d24f4e5c28 Add rake as development dependency 2013-03-09 17:03:59 -03:00
Fabio Rehm
6f24cfa2f5 Fix readme link 2013-03-09 16:44:28 -03:00
Fabio Rehm
e643569152 Update README once more... 2013-03-09 16:41:24 -03:00
Fabio Rehm
fd93fed254 Move vagrant lxc puppet installation shell provisioning code out to a file 2013-03-09 16:40:42 -03:00
Fabio Rehm
08218e209a Update VB 1.1 dev Vagrantfile config syntax to the new one 2013-03-09 16:23:43 -03:00
Fabio Rehm
ccb592d448 Upgrade VB dev boxes kernel when provisioning 2013-03-09 16:20:43 -03:00
Fabio Rehm
42a448666a Add VB dev Vagrantfile for 1.1 2013-03-09 16:16:08 -03:00
Fabio Rehm
d6457aeb74 Fix shared cache path for VB 1.0 dev box 2013-03-09 16:12:27 -03:00
Fabio Rehm
755b2033fe Remove .dev from Vagrantfiles file names 2013-03-09 16:11:49 -03:00