diff options
author | rsiddharth <s@ricketyspace.net> | 2019-11-11 21:03:27 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-11-11 21:03:27 -0500 |
commit | 554fc30cdb9c88873158d5d0c246bd5a9fb1f0ac (patch) | |
tree | 8565588480c3ad6e845a944711613afb01d34c6f /Makefile | |
parent | f46cccf3e048ed1435e3f8113bb069b204201961 (diff) |
Makefile: Add prd-init.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -49,6 +49,17 @@ build: python setup.py bdist_wheel .PHONY: build +prd-init: + ssh root@${PRD_HOST} \\"echo 'https://cdn.openbsd.org/pub/OpenBSD' \ + > /etc/installurl \ + && pkg_add -v git \ + && git config --global --add user.name rsiddharth \ + && git config --global --add user.email s@ricketyspace.net \ + && git -C /etc init \ + && git -C /etc add . \ + && git -C /etc commit -m 'Initial commit' \ + + prd-user: ssh root@${PRD_HOST} \\"useradd -v -c 'NFSW daemon' \ |