From 7c783a3b82b27033b86f75c018f991ffa59fa548 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Wed, 28 Jun 2023 14:17:41 +0200 Subject: vm-images: create script to setut fcos test VM --- vm-images/fcos_test.bu | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vm-images/fcos_test.bu (limited to 'vm-images/fcos_test.bu') diff --git a/vm-images/fcos_test.bu b/vm-images/fcos_test.bu new file mode 100644 index 0000000..70edd1e --- /dev/null +++ b/vm-images/fcos_test.bu @@ -0,0 +1,20 @@ +variant: fcos +version: 1.4.0 +passwd: + users: + - name: core + # password: test + password_hash: "$y$j9T$MvL4tZ2JgfWZEaO4SFuMF0$tHtlfyp.LoPRrMrGAaNV8pvC5u62R8dicPnT0Z9LW65" + groups: + - wheel + - sudo +storage: + files: + - path: /etc/ssh/sshd_config.d/20-enable-passwords.conf + mode: 0644 + contents: + inline: | + # Fedora CoreOS disables SSH password login by default. + # Enable it. + # This file must sort before 40-disable-passwords.conf. + PasswordAuthentication yes -- cgit v1.2.3