Commit graph

444 commits

Author SHA1 Message Date
Fabio Rehm
e8388743ca Add support for starting processes inside a running container using lxc-attach 2013-03-19 01:25:27 -03:00
Fabio Rehm
555d7d61e2 Fix link to port forwarding issue on readme 2013-03-18 20:51:21 -03:00
Fabio Rehm
3fe5977b8b README update as usual 2013-03-18 20:49:16 -03:00
Fabio Rehm
83076f4312 Moar vendored vagrant leftovers 2013-03-14 22:45:45 -03:00
Fabio Rehm
bee1e98e35 Remove vendored vagrant leftovers from specs 2013-03-14 22:39:57 -03:00
Fabio Rehm
d168e6a47e Update Gemfile.lock 2013-03-14 22:39:22 -03:00
Fabio Rehm
83c9bf7530 Update README 2013-03-14 22:34:51 -03:00
Fabio Rehm
c6ec597182 Bump version 2013-03-14 22:28:43 -03:00
Fabio Rehm
6a1b24aaac Remove vendored vagrant code and gem dependencies 2013-03-14 22:28:43 -03:00
Fabio Rehm
2689bcff1a Merge pull request #36 from neerolyte/dev-1.0-prov-fails
set hostname for development/Vagrantfile.1.0 as required by provisioning
2013-03-14 16:34:34 -07:00
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