apt.mk: sudo apt install ...
This commit is contained in:
parent
f6dcd09d18
commit
8f12e6f2e5
2
apt.mk
2
apt.mk
|
@ -7,6 +7,6 @@ start-apt:
|
||||||
@- echo "\n### start"
|
@- echo "\n### start"
|
||||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||||
echo "$(host)"; \
|
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); \
|
sleep $(DEPLOY_START_DELAY); \
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue