/srv/irclogs.ubuntu.com/2023/10/27/#lubuntu.txt

Guest42Does this code look functional guys? https://defuse.ca/b/9qrxz9PV The goal is to run the .sh script to change my hostname using shuf, to pick a random line in a text file, and set the chosen word/line as my hostname using hostnamectl, and to invoke that script via SystemD, and for it to run before any network interfaces start, so my new hostname is20:02
Guest42set before the network interface loads the hostname. Does my code look right? Should i change the Wantedby/Before setting of the SystemD service to another target etc?20:02

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!