Spotter-VM/basic/sbin/issue-gen

5 lines
107 B
Plaintext
Raw Normal View History

#!/bin/sh
export URL=$(ip route get 1 | awk '{print $NF;exit}')
envsubst </etc/issue.template >/etc/issue