Skip to content

Instantly share code, notes, and snippets.

@alk
Created July 1, 2010 07:53
Show Gist options
  • Save alk/459694 to your computer and use it in GitHub Desktop.
Save alk/459694 to your computer and use it in GitHub Desktop.
lxc-run: fast-rebuild
./cloning-networking.rb make do-lxc-run-tail
lxc-cluster: fast-rebuild
gnome-terminal --profile=remote --active $(foreach i,1 2 3, $(if $(subst 1,,$(i)), --tab) -e "./cloning-networking.rb make do-lxc-run-tail")
do-lxc-run-tail:
rm -rf /var/tmp/$(LXC_IP)
cp -rl . /var/tmp/$(LXC_IP)
$(MAKE) -C /var/tmp/$(LXC_IP) conf-clean
(cd /var/tmp/$(LXC_IP) && ./start_shell.sh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment