From 2a440c97e95f67a62dc6c66b11f909047c766a31 Mon Sep 17 00:00:00 2001 From: Florentin Labelle <florentin.labelle@student-cs.fr> Date: Wed, 12 Oct 2022 12:33:03 +0200 Subject: [PATCH] Update cloudinit.yaml --- vms/cloudinit.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/vms/cloudinit.yaml b/vms/cloudinit.yaml index 6797c9b..147a6ad 100644 --- a/vms/cloudinit.yaml +++ b/vms/cloudinit.yaml @@ -1,8 +1,13 @@ #cloud-config apt_upgrade: true ssh_pwauth: 1 +packages: + - zsh + - curl + - python3-pip + - git + - ca-certificates runcmd: - - apt install -y zsh curl python3-pip git ca-certificates fail2ban - mkdir -p /etc/zsh - git clone https://github.com/robbyrussell/oh-my-zsh.git /etc/zsh/.oh-my-zsh - mkdir -p /etc/zsh/.oh-my-viarezo @@ -15,7 +20,9 @@ runcmd: users: - name: viazero primary_group: viazero + groups: + - users lock_passwd: false shell: /bin/zsh sudo: ALL=(ALL) NOPASSWD:ALL - passwd: $6$verysalted$3KiLlglj4rarzH9ajldKC3xVLdPpOBAGu2GLhcU.U68VPWmk/IeU5P.0NrKzsbTtKvvaOG2UnpEO6tN6iYILI/ + passwd: $6$guerande$DRCPGRYGGDUkgmgKVRivCIVfFX7oqQTAJ9Y1AosRgHoCe6BMpnMsCgANvc5DbOdogmwSyaYZ1F5O7ItK.GqlE. -- GitLab