diff options
| author | jerome <jerome@xlinfo.fr> | 2025-08-20 22:51:36 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-08-20 22:51:36 +0200 |
| commit | aa2610fcfd250a5193ed088c1383b551b9159963 (patch) | |
| tree | d9a69d4184c36559b2c138ae633093e6071c4dd1 /cloud-init | |
| parent | a5fc3f548f2b4e983f9c4e53432535410464f20c (diff) | |
| download | incus-aa2610fcfd250a5193ed088c1383b551b9159963.tar.gz incus-aa2610fcfd250a5193ed088c1383b551b9159963.zip | |
remote exec
Diffstat (limited to 'cloud-init')
| -rw-r--r-- | cloud-init/config.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud-init/config.yaml b/cloud-init/config.yaml index 6fd28c2..f211b3f 100644 --- a/cloud-init/config.yaml +++ b/cloud-init/config.yaml @@ -9,6 +9,8 @@ config: sudo: ALL=(ALL) ALL - name: ansible shell: /bin/bash + lock_passwd: false + passwd: "$6$KcUwVgsEi1tnNLfn$2kRWPp7kbZ19vB6J/L46fbulcOOcuw54ttOMXJtfrznlyXDdnepr2.pvYuzOs97tPK0aHr4bab1RQIUGtr8vc/" ssh_authorized_keys: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZJG/XcIIvW0JOJb6ftEpopS4szOo8dRehASGIOAswPRko6JFMT9QuAvl9YkmzgSorn0KpyQrqAxNTklADocMGPW2BJzKb/1fQyZYKY9bLXxyKaYZKbDZNaUJmW92ThDmUrIWPgjh5BhUxOTwRbDhTsRu/pvulnGw+8yOp7Tz8nUgAoJEZ/7fGkm7AaJPLmF/szQEhL/WSNqTtNdCHNYpQqgRIUZh5zqcb2jXa0pZ7GMnPmoSUMlz1OfAxMOIuziaP3i1J/KHVhXdxj4nrOtUjrUULfqk9vyfKkf7BLYKO3fO3BLR9H5HgeTlaB2aXNuDgRAQposNZ0FEK/VkWj+DQuqjuj9nYo57GbfMfhWr/dTKxTVj3xsbFdThDWtlp7sVI2jguqntwwlmhhexJp1fAYZn92KYkaxGHWLbR0bxLEWVjHXciVW2D12IUZfGWXh5wInoQN1gs1i6NUqgf1uDZhAax5H9G07YySR2fnM9TB5c5apyf7PFCg1kZAnqVHrE= jerome@parrot" sudo: ALL=(ALL) NOPASSWD:ALL @@ -24,6 +26,4 @@ config: runcmd: - [sed, -i, s/PasswordAuthentication no/PasswordAuthentication yes/, /etc/ssh/sshd_config] - [systemctl, start, sshd] - #bug rocky9 ??? - - passwd -d ansible |
