Added the pre-seed so that apt is not askingFor IP

This commit is contained in:
Jacob Hrbek 2021-02-04 01:06:55 +01:00 committed by GitHub
parent edb395a6d9
commit 56d354442e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@ jobs:
apt-get install curl lsb-release --yes
curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
echo "deb https://deb.oxen.io $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/oxen.list
# Required to pre-seed as the oxend requires set IP
echo "oxen-service-node oxen-service-node/ip-address string $(curl ifconfig.me)" | debconf-set-selections
apt-get update
apt-get install openrc oxen-service-node --yes
- name: Pulling git dir..
@ -42,4 +44,4 @@ jobs:
uses: actions/checkout@v2
- name: Lint the service file..
run: |
shellcheck --external-sources --shell=sh "$GITHUB_WORKSPACE/debian/oxen-node.openrc"
shellcheck --external-sources --shell=sh "$GITHUB_WORKSPACE/debian/oxen-node.openrc"