update
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
#============================================================================
|
||||
# Title : post-install
|
||||
# Description : postinstall section for running by Anaconda kickstart
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
mkdir -p /root/.ssh
|
||||
|
||||
cp /var/lib/misc/custom/postinstall.service /etc/systemd/system
|
||||
cp /var/lib/misc/custom/authorized_keys /root/.ssh
|
||||
|
||||
chmod 600 /root/.ssh/authorized_keys
|
||||
|
||||
systemctl enable postinstall
|
||||
Reference in New Issue
Block a user