Bernhard Ehlers 48f179706a Debian packer template: Improvements
- run scripts as root, no sudo needed within scripts
- add shebang to scripts
- add "set -ex" to abort scripts on error and to display commands
2022-12-10 11:44:34 +01:00

6 lines
90 B
Bash

#!/bin/sh
set -ex
# create GNS3 user
printf 'gns3\ngns3\n' | adduser --gecos 'GNS3' gns3