@george1421 @Junkhacker @Tom-Elliott I see what it does now. I actually tried that out. Basically, it copied the script from fog server and placed that into the target computer. Once the target computer powers up, it will run the script automatically. That actually helps. Thanks for your guys effort. I will close this issue then.
zfeng
@zfeng
Best posts made by zfeng
-
RE: Provision with Script
Latest posts made by zfeng
-
RE: Devops with Fog
Hi Quazz, any example for that? Merge a branch into master in git repo and automatically build the image
-
Devops with Fog
Hi guys, I love the Fog Project. It saves tremendous amount of my time working on imaging the OS. One thing I want to see if Fog project provides for us, automatically create a image. For most of the applications I work on, when there is a merge from a sub-branch into master branch in a git repo, it would trigger the CICD server to build the artifact and deploy that either to staging/production. Does Fog have this kind of functionality? Let’s say that when I merge my commit into master branch, it would trigger CICD server to build the image and somehow Fog project leverages that to create a deployable image. With that, every time I want to deploy/image a new computer, I would get the latest info from the git repo. Just a thought. Thanks
-
RE: Provision with Script
@george1421 @Junkhacker @Tom-Elliott I see what it does now. I actually tried that out. Basically, it copied the script from fog server and placed that into the target computer. Once the target computer powers up, it will run the script automatically. That actually helps. Thanks for your guys effort. I will close this issue then.
-
RE: Provision with Script
@Junkhacker thanks for that. I will try that out
-
RE: Provision with Script
@george1421 Thanks for that. I will try that out
-
RE: Provision with Script
@Junkhacker where should I specify
wget -o /root/script.sh <address>/script.sh; echo “Computer=$hostname /root/script.sh” > <drive mount point>/etc/init.d/oneshot.sh
command? -
RE: Provision with Script
@Tom-Elliott The best thing I can do now is to try out that, and see what comes. Let’s say I need provision a linux computer with script
Computer=ComputerA ./start.sh
on the home directory. Is there any instruction I can try that out? -
RE: Provision with Script
@Junkhacker but how can I pass the argument to that script?
-
RE: Provision with Script
@Tom-Elliott Yes. You guys are very responsive. I appreciate that