34 lines
940 B
YAML
34 lines
940 B
YAML
#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" |