Advertisement
viniciusdenardi

FCOS - OK

Nov 23rd, 2020
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. variant: fcos
  2. version: 1.1.0
  3. passwd:
  4. users:
  5. - name: core
  6. password_hash: $1.....
  7. ssh_authorized_keys:
  8. - ssh-rsa AAAA......
  9. groups: [ sudo, docker ]
  10.  
  11. storage:
  12. files:
  13. - path: /etc/ssh/sshd_config.d/20-enable-passwords.conf
  14. mode: 0644
  15. contents:
  16. inline: |
  17. # Fedora CoreOS disables SSH password login by default.
  18. # Enable it.
  19. # This file must sort before 40-disable-passwords.conf.
  20. PasswordAuthentication yes
  21.  
  22. - path: /etc/NetworkManager/system-connections/ens33.nmconnection
  23. mode: 0600
  24. overwrite: true
  25. contents:
  26. inline: |
  27. [connection]
  28. type=ethernet
  29. id='Custom interface'
  30. interface-name=ens33
  31.  
  32. [ethernet]
  33. mac-address=000C2970D8C0
  34.  
  35. [ipv4]
  36. method=manual
  37. addresses=192.168.0.76/24
  38. gateway=192.168.0.23
  39. dns=192.168.0.23;1.1.1.1;8.8.8.8
  40. dns-search=redhat.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement