This commit is contained in:
Zsolt Ero
2023-12-08 13:07:30 +01:00
parent 8faf4ecfb7
commit 58f35acb30
4 changed files with 37 additions and 26 deletions

View File

@@ -13,12 +13,9 @@ from ssh_lib.utils import add_user, enable_sudo, put, setup_time, sudo_cmd
def prepare_shared(c):
add_user(
c,
'ofm',
passwd='x',
)
enable_sudo(c, 'ofm')
# creates ofm user with uid=2000, disabled password and nopasswd sudo
add_user(c, 'ofm', uid=2000)
enable_sudo(c, 'ofm', nopasswd=True)
pkg_upgrade(c)
pkg_clean(c)
@@ -36,6 +33,7 @@ def prepare_tile_gen(c):
'prepare-virtualenv.sh',
'planetiler_planet.sh',
'planetiler_monaco.sh',
'gen_planet.sh',
'gen_monaco.sh',
'extract.sh',
]: