Spotter-VM/basic/sbin/issue-gen

5 lines
107 B
Bash
Executable File

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