I followed this guide to randomizing mac address successfully. But when look up to randomizing hostname, it have to run this command in netvm:
# 3. Execute inside your network VM:
# `sudo bash -c 'mkdir -p /rw/config/protected-files.d/ && echo -e "/etc/hosts\n/etc/hostname" > /rw/config/protected-files.d/protect_hostname.txt'`
Base on my knowledge, anything you do on a disposable vm, will be vanished when shutdown, therefore I think it is not work on the disposable netvm.
Any of you can successfully randomize your hostname on the disposable netvm? What is your work to achieve that goal?