From 28f66957d027264260e7b82616ffc9e7b67616e7 Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 22 Oct 2018 17:08:14 +0200 Subject: set user tag --- cloudinit/config/cc_vyos.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cloudinit/config/cc_vyos.py') diff --git a/cloudinit/config/cc_vyos.py b/cloudinit/config/cc_vyos.py index 1ea9fadb..b073239c 100644 --- a/cloudinit/config/cc_vyos.py +++ b/cloudinit/config/cc_vyos.py @@ -44,6 +44,7 @@ def set_pass_login(config, user, password, encrypted_pass): else: config.set(['system', 'login', 'user', user, 'authentication', 'plaintext-password'], value=password, replace=True) + config.set_tag(['system', 'login', 'user']) config.set(['system', 'login', 'user', user, 'level'], value='admin', replace=True) -- cgit v1.2.3