| From d80fa928f82044f5d9e2183537177b68edbe8aa4 Mon Sep 17 00:00:00 2001 | |
| From: Michael Tremer <[email protected]> | |
| Date: Wed, 21 Nov 2018 19:38:54 +0000 | |
| Subject: [PATCH] AWS: Fix default configuration | |
| The default configuration for AWS was missing the "vyos" user which | |
| has been created as an admin without password here. | |
| SSH keys will now be correctly imported by cloud-init and it is | |
| possible to login again. | |
| Fixes: T1003 | |
| Signed-off-by: Michael Tremer <[email protected]> | |
| --- | |
| tools/cloud-init/AWS/config.boot.default | 10 ++++++++++ | |
| 1 file changed, 10 insertions(+) | |
| diff --git a/tools/cloud-init/AWS/config.boot.default b/tools/cloud-init/AWS/config.boot.default | |
| index 18f6ef097069..de724f0b847d 100644 | |
| --- a/tools/cloud-init/AWS/config.boot.default | |
| +++ b/tools/cloud-init/AWS/config.boot.default | |
| @@ -1,4 +1,14 @@ | |
| system { | |
| + host-name vyos | |
| + login { | |
| + user vyos { | |
| + authentication { | |
| + encrypted-password "*" | |
| + plaintext-password "" | |
| + } | |
| + level admin | |
| + } | |
| + } | |
| syslog { | |
| global { | |
| facility all { | |
| -- | |
| 2.17.2 | |
File Metadata
File Metadata
- Mime Type
- text/x-diff
- Storage Engine
- local-disk
- Storage Format
- Raw Data
- Storage Handle
- 8d/9e/7996f0c863c3e2738ea3e85a30f6
- Default Alt Text
- 0001-AWS-Fix-default-configuration.patch (1 KB)