Success! Well, at least as far the stage 1 rocket. The domain-controller container is installed, runs, and reports an IP. Now to figure out Samba AD config.
root@lxc ~# lxc-create -n dc -f /etc/lxc/bridge.conf -t turnkey -- domain-controller
INFO [lxc-turnkey]: begin creating container dc...
...snip...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
INFO [lxc-turnkey]: successfully completed creating container dc.
root@lxc ~# lxc-start -n dc
root@lxc ~# lxc-ls -f
NAME STATE AUTOSTART GROUPS IPV4 IPV6
dc RUNNING 0 - 192.168.1.178 -
----
Ok, to my mind all that's needed to make this TURNKEY is a number of simple scripts following the form of LXC-install-{appname}. The scripts are included in turnkey-lxc-appliance image, and can be updated periodically with something similar to `apt-get update`.
It asks 2 questions:
password for this app?
The same password can be used for all 3 invocations - host os, sql db, and app. People who want to use it in the wild with more security levels can still edit inithook.conf.
hostname for this app?
We don't need the app name (lxc-create --name=..), we already have that, it's in the script name.
Bridged vs NAT? well that could be asked too I 'spose without complicating things. It's a simple boolean. Other options? Well they're all still available in the existing commands.
we have lift off!
Success! Well, at least as far the stage 1 rocket. The domain-controller container is installed, runs, and reports an IP. Now to figure out Samba AD config.
----
Ok, to my mind all that's needed to make this TURNKEY is a number of simple scripts following the form of LXC-install-{appname}. The scripts are included in turnkey-lxc-appliance image, and can be updated periodically with something similar to `apt-get update`.
It asks 2 questions:
The same password can be used for all 3 invocations - host os, sql db, and app. People who want to use it in the wild with more security levels can still edit inithook.conf.
We don't need the app name (lxc-create --name=..), we already have that, it's in the script name.
Bridged vs NAT? well that could be asked too I 'spose without complicating things. It's a simple boolean. Other options? Well they're all still available in the existing commands.
A newbie's 2$