summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/bin/filehooker_set_hostname.sh
blob: cb9b01705c34b199219e28694a8796993b9b97b8 (plain)
1
2
3
4
5
#!/usr/bin/bash
hostn="filehooker$RANDOM"
echo "$hostn" > /etc/hostname
hostname $hostn