- Install the CSCF Linux Container meta package on the
Ubuntu Server you already have setup and
networked.
-
apt-get install -y uwcs-lxc
-
Create
the
CSCF Inventory entry for this new container.
-
Make sure entry has the following fields filled in:
- ▼General
-
- Model: LXC
- Auth User
- Auth Contact
- ▼DNS
-
At least one DNS ID line setup with fields:
- Host
- Domain
- IP Address
- ▼Hardware
-
- Number Of Cores
- Memory
- Create the container.
-
salt_master=<Salt-Master-FQDN> lxc-create -n <FQDN-Container-Name> -t cscf-ubuntu
- If you really need to have one,
Set the default root passwd on the new container:
-
chroot /var/lib/lxc/<FQDN-Container-Name>/rootfs passwd
-
- The virtual host should now be ready to start up:
-
lxc-start -d -n <FQDN-Container-Name>
- Notes:
-
- The cscf-template will have setup the ssh/authorized key
that allows Administrators from CSCF to ssh into
the running container.
To find up to date information about
"Security issues and mitigations with lxc" see
https://wiki.ubuntu.com/LxcSecurity