Skip to content

Instantly share code, notes, and snippets.

@farwydi
Last active March 21, 2022 11:13
Show Gist options
  • Save farwydi/b7da107143c4213b40c42ff2b3223418 to your computer and use it in GitHub Desktop.
Save farwydi/b7da107143c4213b40c42ff2b3223418 to your computer and use it in GitHub Desktop.
{"ignition":{"config":{},"security":{"tls":{}},"timeouts":{},"version":"2.3.0"},"networkd":{"units":[{"contents":"[Match]\nName=eth0\n\n[Network]\nAddress=195.2.76.236/24\nGateway=195.2.76.1\nDNS=8.8.8.8\n","name":"static.network"}]},"passwd":{"users":[{"groups":["sudo","docker"],"name":"core","passwordHash":"$6FMi11BJFsAc","sshAuthorizedKeys":["ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlwAiep+i/ls7mVN8gSdsgiYZQdg9M4C4WzRljpEfd1EFmcpTrnZ9tDUC+v6od+DHaKn/gT6cCPKlyFoLqoy2vwuPxDLJKD170BJoQ3ihXViHzn7DgvDsB9ESRwJRXybiopy5qdl4oCqLsEjMxFtWEtWwj9fTrEbIi4QFbJL+6Pt+QUw9uXHJ4vdur5kP+kFAgdNrp/dwUoV8tHtC9wv/f33/BqZ1k8U6JQWzU0/H0qOE09gXYLcd0/wDNZ5B5JXzwcaW8Go7dsyCoOlmKMsTkc9sUElM6p7ws3CSkNzTMh9HTANcgeX5nBOVR1kI+9SCPPyV4ExFzLI4Mkyuu323uQ=="]}]},"storage":{},"systemd":{"units":[{"contents":"[Unit]\nDescription=NGINX example\nAfter=docker.service\nRequires=docker.service\n[Service]\nTimeoutStartSec=0\nExecStartPre=-/usr/bin/docker rm --force nginx1\nExecStart=/usr/bin/docker run --name nginx1 --pull always --net host docker.io/nginx:1\nExecStop=/usr/bin/docker stop nginx1\nRestart=always\nRestartSec=5s\n[Install]\nWantedBy=multi-user.target\n","enabled":true,"name":"nginx.service"}]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment