Change ID format #426
-
Good morning. I am trying to run ghosts within 5 subnets that are all part of a larger range. The issue I'm running into is that all the subnets are mostly identical to each other except for the IP. Ghost seems to be thinking these are all the same machines and the Ids being generated are identical. Looking into the application.conf I see the ID format be specified. Is there a list of options that we can use to modify this format? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi! Do you happen to be running these on vmware? If so, you can use guestinfovars - the "format key" or name of the guestinfovar is set in the app configuration file ./config/application.json on this line. The formatvalue right below is where that value gets set in the machine name. So if we set these to: "FormatKey": "guestinfo.rangename", and in vmware we create a guestinforvar named "guestinfo.rangename" and set it to our range name "R_1", and the machine is M_1, the name will be "R_1-M_1" in ghosts. If not on vmware, we'll have to think of a quick fix up. Please lmk. |
Beta Was this translation helpful? Give feedback.
Hi! Do you happen to be running these on vmware? If so, you can use guestinfovars - the "format key" or name of the guestinfovar is set in the app configuration file ./config/application.json on this line. The formatvalue right below is where that value gets set in the machine name.
So if we set these to:
"FormatKey": "guestinfo.rangename",
"FormatValue": "$formatkeyvalue$-$machinename$",
and in vmware we create a guestinforvar named "guestinfo.rangename" and set it to our range name "R_1", and the machine is M_1, the name will be "R_1-M_1" in ghosts.
If not on vmware, we'll have to think of a quick fix up. Please lmk.