mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-24 15:25:56 +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
|
# later commands
|
||||||
runcmd:
|
runcmd:
|
||||||
- systemctl enable sshd
|
- systemctl enable sshd
|
||||||
- systemctl restart sshd
|
|
||||||
- systemctl stop kdump
|
- systemctl stop kdump
|
||||||
- systemctl disable kdump
|
- systemctl disable kdump
|
||||||
- hostnamectl set-hostname HostName
|
- hostnamectl set-hostname HostName
|
||||||
|
@ -58,6 +57,8 @@ runcmd:
|
||||||
- systemctl daemon-reload
|
- systemctl daemon-reload
|
||||||
- echo 'export LC_ALL="C.UTF-8"' >> ~/.bash_profile
|
- echo 'export LC_ALL="C.UTF-8"' >> ~/.bash_profile
|
||||||
- source ~/.bash_profile
|
- source ~/.bash_profile
|
||||||
|
- ssh-keygen -A
|
||||||
|
- systemctl restart sshd
|
||||||
- grub2-mkconfig -o $(readlink -f /etc/grub2-efi.cfg)
|
- grub2-mkconfig -o $(readlink -f /etc/grub2-efi.cfg)
|
||||||
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
||||||
- touch /etc/cloud/cloud-init.disabled
|
- touch /etc/cloud/cloud-init.disabled
|
||||||
|
|
Loading…
Add table
Reference in a new issue