mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-13 04:34:57 +08:00
Update dhcp_interfaces.cfg
This commit is contained in:
parent
bbfb980553
commit
7d0ce626ab
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,6 @@ network:
|
|||
# later commands
|
||||
runcmd:
|
||||
- systemctl enable sshd
|
||||
- systemctl restart sshd
|
||||
- systemctl stop kdump
|
||||
- systemctl disable kdump
|
||||
- hostnamectl set-hostname HostName
|
||||
|
@ -58,6 +57,8 @@ runcmd:
|
|||
- systemctl daemon-reload
|
||||
- echo 'export LC_ALL="C.UTF-8"' >> ~/.bash_profile
|
||||
- source ~/.bash_profile
|
||||
- ssh-keygen -A
|
||||
- systemctl restart sshd
|
||||
- grub2-mkconfig -o $(readlink -f /etc/grub2-efi.cfg)
|
||||
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
||||
- touch /etc/cloud/cloud-init.disabled
|
||||
|
|
Loading…
Reference in a new issue