gns3-registry/cloud-init/oracle-cloud/user-data

20 lines
495 B
Plaintext
Raw Normal View History

2022-12-23 03:34:21 +00:00
#cloud-config
ssh_pwauth: True
2023-05-27 07:28:53 +00:00
# Modified default_user from /etc/cloud/cloud.cfg.d/90_ol.cfg
users:
- name: oracle
plain_text_passwd: oracle
lock_passwd: false
gecos: Cloud User
groups: [adm, sytemd-journal]
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
shell: /bin/bash
# Enable serial login
runcmd:
- [ systemctl, start, "serial-getty@ttyS0.service" ]
- [ grubby, --update-kernel=ALL, "--args=console=tty0 console=ttyS0,115200" ]
- [ grub2-mkconfig, -o, /etc/grub2.cfg ]