-
Copy ZTP and PnP folders to home directory. e.g.
"/home/master"
-
Run the following commands on :
2.2.
cd /ZTP/
2.3.
chmod 755 ztp_setup.sh
2.4.
sudo ./ztp_setup.sh ${USER}
This setup configures ZTP on a new Ubuntu VM and then starts the PnP server. It involves the following steps:
- GO installation
- Install and configure matchbox & dnsmasq
- Starts consul agent
- Starts the PnP server
- Boot up a new PXE client.
When ever a new PXE client is booted, ZTP-setup installs ubuntu on the VM and then starts the PnP-client. Once the PnP client is up and running, it automatically communicates with the PnP server for further instructions.(See PnP project for mode details)