Is there any plans to include a REST API that you could access from any other application to automate the process.
- Add new Machine
- Automate tasks and monitor them
I started having issues on my XP POS machines. When we are deploying we are not updating the hostname automatically anymore.
I was looking through the cd_push script and it only changes ControlSet001 if the other methods fail. i have now modified it to accommodate every variation i can think of.
Do you have a better solution than to change both 001 and 002?
I need to run my script to change an .ini file. (Look at my previous post)
At the moment i run the script at the bottom of cd_push after change_computer_name.
What happens then is that my script runs twice. If i run it as a separate imaging script i can't get it to mount the drive again.
Do you have an easier way to mount the drive? Like a global function i can use?
What version of sed are you using in the boot image?
Tested this command on ubuntu:
[b]sed -i "s/^value3=.*/value3=$cust_attr_1/" "$varFile"[/b]
The output is correct with a newline and value4=.
When i run the script from within the boot image after deployment.
This is the file before:
This is the file after:
I will try this ASAP.
Do you have some more information on how you created/modified the boot image for CloneDeploy. ex. if you based it on someones work or created it from scratch? I am going to read some more into how i would embed python into/beside the boot image or deployment process.
I was wondering if it is possible (easy within reason xD ) to add python 2.7/3.5 to the boot image for advanced scripting with the possibility to access an API (or MySQL db directly)?
Our company sells/lease PC cash registers and when we lease cash registers there are a bunch of settings that has to be done on each machine. Today we are using CD to deploy a standard image for each PC and CD makes sure they always get the same Computer Name. After that we set all the other settings manually.
P.S. The rest of our backend system is running on python and flask API.