Carga inicial
This commit is contained in:
34
utils/cloud-init-jod.yaml
Normal file
34
utils/cloud-init-jod.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
#cloud-config
|
||||
|
||||
yum_repos:
|
||||
epel:
|
||||
name: Extra Packages for Enterprise Linux
|
||||
baseurl: https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/
|
||||
enabled: true
|
||||
gpgcheck: true
|
||||
|
||||
timezone: America/Sao_Paulo
|
||||
|
||||
package_update: true
|
||||
package_upgrade: true
|
||||
|
||||
packages:
|
||||
- vim
|
||||
- wget
|
||||
- libreoffice
|
||||
- java-1.8.0-openjdk
|
||||
- google-noto-fonts-common.noarch
|
||||
- fontawesome-fonts.noarch
|
||||
- google-noto-sans-cjk-ttc-fonts.noarch
|
||||
|
||||
runcmd:
|
||||
- [systemctl, disable, firewalld.service, --now]
|
||||
- [ sed, -i, 's/^SELINUX.*/SELINUX=disabled/', /etc/selinux/config]
|
||||
- [setenforce, 0]
|
||||
- [localectl, set-locale, LANG=pt_BR.ISO-8859-1]
|
||||
- [nmcli, conn, modify, "System enp0s5", ipv6.method, disabled]
|
||||
- [nmcli, conn, modify, "Wired Connection", ipv6.method, disabled]
|
||||
- [nmcli, conn, up, "Wired Connection"]
|
||||
- [systemctl, restart, NetworkManager]
|
||||
|
||||
final_message: "Jod Instance ready after $UPTIME seconds"
|
||||
Reference in New Issue
Block a user