Sonic: Disabling ZTP and Cleaning Initial Configuration
=======================================================

* Wait for the 'login' prompt
* Login as 'admin', password 'YourPaSsWoRd'
* If needed, disable zero-touch with 'sudo config ztp disable --yes'.
  Don't despair, disabling ZTP takes a long while to complete.
* Remove BGP, interface, and MAC address configuration from the initial
  configuration (required on Azure images)
---------------------
sudo bash
cd /etc/sonic
jq "del(.INTERFACE,.BGP_NEIGHBOR,.LOOPBACK_INTERFACE,.DEVICE_METADATA.localhost.mac)" config_db.json >config_db.new
mv config_db.new config_db.json
---------------------
* Power down the virtual machine with 'sudo poweroff'
* If the device starts reloading instead of shutting down, disconnect
  from the console (ctrl-] usually works).
