Open jorisbontje opened 11 years ago
The public key should probably also be dynamic (it's probably not a good idea to give my pub key root access to all machines you provision). You could set it through a var if the ks is part of cobbler. You could also fetch it through http(s) using curl.
+ bonus points for getting the root password from /dev/urandom and never use it again (cat /dev/urandom | head -c20 | base64).
@friso says: heb kickstart script gemaakt dat hdd's detecteert en de kleinste als OS disk gebruikt en de rest als data partitie en meteen SSH public key neerzet voor root user.
(doet wel de aanname dat de layout /dev/sda, /dev/sdb, /dev/sdc, etc. is, maar is makkelijk aan te passen; in cobbler zou je dat via een var kunnen doen)