Storage Node Scriting
-
Is it possible to automate the installation of the storage using something like the following?
/opt/fogproject/bin/installfog.sh --os=1 --mode=s --interface=default --fogip=192.168.1.10 --fsmu=fogstorage --fsmp=MyPassword --https=n --changehostname=n --continue=y
If not, is there a place to add feature requests?
Thanks
-
@eseelke said in Storage Node Scriting:
Is it possible to automate the installation of the storage using something like the following?
What exactly do you mean by “installation of the storage”? Do you mean “storage” as in a full storage node on a blank Linux system?
If yes, than take alook at the installer options. There is some of what you want. We can discuss about other things as well.
If no, then I am wondering if your concept of storage is what we think it is in the FOG world?!
-
@Sebastian-Roth Sorry, I meant storage mode.
I was looking for a one line command so that there is no prompts asked. I saw the command line options you posted, but that doesn’t look like it includes anything for storage mode installs.
I have a VM that I am looking to deploy for sites. I already have the installer files for FOG in the /opt folder. I just have to SSH into and run the command to connect it. I was hoping for a one line command that I can use to make things easier.
Thanks, Eddie
-
@eseelke FIrst off you want to use
--autoaccept
so it will use defaults wherever it can.To make it install storage node instead of master node and provide database information you will need to use “pre set” variables:
installtype=S snmysqlhost=x.x.x.x snmysqlpass='pAsSwOrD$!' ./installfog.sh --autoaccept
-
Cool, thank you @Sebastian-Roth. I will try that later today.
-
@Sebastian-Roth Thank you, this worked beautifully.