Windows Installation

Setting up a Windows OS repo

  • Mounting the OS Image:

Windows’ installation requires that Windows OS’ ISO image must be mounted to a directory accessable to the node. In the example below a windows server 2012 ISO image is being mounted to a directory name Licensedwin2012

sudo mount -o loop /var/renasar/on-http/static/http/W2K2012_2015-06-08_1040.iso /var/renasar/on-http/static/http/Licensedwin2012
  • Export the directory

Edit the samba config file in order to export the shared directory

sudo nano /etc/samba/smb.conf
    comment = not windows server 201
    path = /var/renasar/on-http/static/http/Licensedwin2012
    browseable = yes
    guest ok = yes
    writable = no
    printable = no
  • Restart the samba share
sudo service samba restart

Get payload example:


Call API to install OS:

curl -X POST -H 'Content-Type: application/json' -d install_windows_payload_minimal.json{node-id}/workflows?name=Graph.InstallWindowsServer | jq '.'


For more detail about payload file please refer to Windows OS Installation Workflow Payload