Hi,
I'm new to Foreman. I've installed Katello 2.3/Foreman 1.9.2 and everything
seems to work. Was able to unattended provision a RHEL 7 host in VMware
vSphere/vCenter. Works great (kudos to the people responsible for all
this!).
Now, I want to be able to provision a host with multiple disks. I was able
to do it by setting up a new kickstart partition table template. But I have
some questions:
Is it safe to assume that the order in which I add the disks in the
"Virtual Machine" tab will match up with the VM when it's created? For
example, will the first disk be "sda", the second disk be "sdb", etc?
If not, how do I set up the kickstart partition table template? When I run
my tests, I only set up two disks and they always seemed to work. But I'm
wondering if I was just lucky?
I was looking at setting up a dynamic template. My first test was to
generate basically the same thing as I did before but writing it to
/tmp/diskpart.cfg and that worked. But that success just makes me more
ambitious. So now, I'm wondering: can I set the mount point of these disks
somewhere in the Foreman gui and retrieve it in this dynamic template? The
"Name" field seems to be arbitrary so was thinking of entering the mount
point there. I was looking at the @host* variables in the "Template
Writing" document but there doesn't seem to be any variables that
correspond to the data in the Virtual Machine tab (i.e. "Data store",
"Name", and "Size (GB)"). Do they exist? If so, where are they documented?
If not documented, where would I look to find it?
Also, if I'm going about this all wrong, please let me know. And please
point me in the correct direction.
Thanks!
–Stephen