apt.mk: sudo apt install ...

This commit is contained in:
Andreas Neue 2023-05-19 09:26:13 +02:00
parent f6dcd09d18
commit 8f12e6f2e5
1 changed files with 1 additions and 1 deletions

2
apt.mk
View File

@ -7,6 +7,6 @@ start-apt:
@- echo "\n### start"
@- $(foreach host,$(DEPLOY_HOSTS), \
echo "$(host)"; \
ssh $(SSH_USER)@$(host) "apt install -y $APT_PACKAGES; sh start.sh"; \
ssh $(SSH_USER)@$(host) "sudo apt install -y $APT_PACKAGES; sh start.sh"; \
sleep $(DEPLOY_START_DELAY); \
)