Is there a way in UI when creating a script to use variables such as username?
So I could add a user to sudoers.
Other variables may be helpful, too, such as the IP address and port of the host and even the user public key, since some systems, such as VyOS, accept and store the public keys not in the authorized_keys file but in its configuration with a specific set of commands.
Example from VyOS documentation:
set system login user <username> authentication public-keys <identifier> key <key>
