Skip to content

Instantly share code, notes, and snippets.

@bigbosst
Created July 27, 2015 18:54
Show Gist options
  • Save bigbosst/543e3f308d776708bf37 to your computer and use it in GitHub Desktop.
Save bigbosst/543e3f308d776708bf37 to your computer and use it in GitHub Desktop.
lxc.init example
sudo salt "lxchost.youmail.com" lxc.init lxcguest.example.com nic_opts="{'eth0': {'ipv4': '192.168.0.10/24'}}" gateway=192.168.0.1 dnsservers=[8.8.8.8,4.2.2.2] searchdomains=example.com template=debian bridge=br0 start=True install=True seed=True autostart=True users=[root] password='root' options='{release: jessie}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment