
user set 0 name=root password= $PASSWORDĮcho "Magic constant is 65537 (second partition address). GATEWAY= `ip route list | grep default | cut -d ' ' -f 3 ` & \Įcho "/ip address add address= $ADDRESS interface= Qemu-img resize chr.qcow2 1073741824 & \Įcho "Give some time for qemu-nbd to be ready " & \ĪDDRESS= `ip addr show eth0 | grep global | cut -d ' ' -f 6 | head -n 1 ` & \ Qemu-img convert chr.img -O qcow2 chr.qcow2 & \ # If it didn't work, just trash the droplet and try it again. Reboot the droplet and attempt to login using Winbox. # Most of the time this is absolutely fine. # You might get a "Segmentation fault" on line 56 while the image is being written. # Once the reboot is done, login with root/CHANGEME and change the password!



