Thank you for your help. I tried to include this piece of code at the beginning of my script and run the deployment twice but it didn’t work. By the way the variables that I would like to use are that of the fog.imagePartitionType. To introduce it simply it would be : “If imagePartitionTypeID = 3 then mounts /dev/nvmeOn1p1”, “If imagePartitionTypeID = 4 then mounts /dev/nvmeOn1p2” to rename the following part that your deploying. Hope this clarification can bring the light on my problem.
Posts made by mdxlp
-
RE: Post Install script Hostname changer
-
RE: Post Install script Hostname changer
I come back to you here because I tested things that included in my script the variables of the fog database, unfortunately I could not call or use most of these variables in my script because it did not work. After further research more specifically on windows, I heard about the netdom command. Does a command similar to netdom exist for linux ?
-
RE: Geeting This Error Message When I Update It!
@LulaHuel A Microsoft Agent has posted something about your error here https://answers.microsoft.com/en-us/windows/forum/all/kb4034658-error-0x800736cc/3be01267-be60-490a-aa98-833904b10536
By the way this forum is not about Microsoft or Windows support -
RE: Post Install script Hostname changer
@george1421 Thank you. I’m gonna have a look at it and see what I can do with
-
Post Install script Hostname changer
Hello,
I am now working on a project where I need FOG to deploy or capture many OS (Linux) images on any part of the disk I want. I need to run a post install script to change the hostname of the image I have just deployed on a partition. I don’t know how to give it the precise name of the partition I’m gonna deploy the image on. I have seen that you have to mention the partition you want the image to be deployed on, but I have four of them where I can deploy an image and I don’t know how to make that like “automatic”, the fact that I don’t have to change the name of the partition every time in the script.
(If my english is terrible its because I’m french)