Opened 3 years ago

Closed 3 years ago

#50 closed Task (Done)

Rebuild Kernigan (Debian) and Keynes (Centos) with current distributions.

Reported by: D Delmar Davis Owned by: D Delmar Davis
Priority: Would Be Nice Milestone: Make Shit Happen / Own Your Shit.
Component: Development Keywords:
Cc: Joe Dumoulin


Both kernigan and keynes behaved badly on the update passwords and keys scripts complaining about sudo configuration issues. (root is not in sudo?).

Revisit deploying these images and fix the issues with the current distro.

Containers are considered suspect and downed until this is complete.

Change History (6)

comment:1 Changed 3 years ago by D Delmar Davis

Cc: Joe Dumoulin added; Joe removed

comment:2 Changed 3 years ago by D Delmar Davis

Also document container creation using ansible and profiles from a user perspective.
ie how to use your new container....

comment:3 Changed 3 years ago by D Delmar Davis

New LXC images for Centos follow the x/x/cloud and just work using the cloud-init from the lxc profiles.

Download /cloud images

root@kb2018:~# lxc image copy images:centos/8/cloud local: --copy-aliases 
root@kb2018:~# lxc image copy images:debian/10/cloud local: --copy-aliases 

centos=Good News.

Centos cloud image works out of the box

To create a centos/8 container add a line to /etc/ansible/hosts use image_alias="centos/8/cloud" system_profile="susdev20".

See keynes example.

keynes ip_address= purpose="Centos/Cobol Container" image_alias="centos/8/cloud" system_profile="susdev20"
Last edited 3 years ago by D Delmar Davis (previous) (diff)

comment:4 Changed 3 years ago by D Delmar Davis

Debian (buster) missing openssh

Otherwise debian/10/cloud worked just fine.
Will adjust either the creation script or the profile.

comment:5 Changed 3 years ago by D Delmar Davis

Adding -openssh-server to susdev20 fixed debian/10/cloud
It may have broken centos/8/cloud. I will have to test it.

comment:6 Changed 3 years ago by D Delmar Davis

Resolution: Done
Status: assignedclosed

centos/8/cloud is missing openssh-server even with cloud-init.
Leaving the newer containers in place.
Will figure out if software can be checked in cloud-init with centos.

Note: See TracTickets for help on using tickets.