mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-20 21:33:09 +00:00
20 lines
495 B
Plaintext
20 lines
495 B
Plaintext
#cloud-config
|
|
|
|
ssh_pwauth: True
|
|
|
|
# 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 ]
|