Requesting your help on deploy photon os part 2(Deploy Photon 2.0 - Part 2 - LucD notes ).
When I shipped the template to the customer which I created using your part 1 script. Its bit difficult to update the JSON file by the customers.
So what i am thinking is to provide a csv file like below and customer will fill the csv and save it and execute the New-PhotonVM function.
Now the inputs which we need to pass into json file will be taken from the csv.
So is it possible to pass the inputs from the csv to json while deploying the VMs(Ex- VMhost,storage,OVF path in json should be taken from csv file).
The problem will be that I used JSON because it has a structured hierarchy (it has depth),
while a CSV file only has a single dimension.
Where the function uses for example
it would now have to be something like
But if you make all the correct changes, you should be able to adapt the function to read the input from a CSV file.