Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F266751
0001-AWS-Fix-default-configuration.patch
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
m.tremer
Nov 21 2018, 7:43 PM
2018-11-21 19:43:01 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
0001-AWS-Fix-default-configuration.patch
View Options
From d80fa928f82044f5d9e2183537177b68edbe8aa4 Mon Sep 17 00:00:00 2001
From: Michael Tremer <michael.tremer@lightningwirelabs.com>
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 <michael.tremer@lightningwirelabs.com>
---
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
Details
Attached
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)
Attached To
Mode
T1003: AWS: Login via SSH key does no longer work
Attached
Detach File
Event Timeline
Log In to Comment