I then added new installation media via Hosts > Installation media, and
assigned that to operating systems via Hosts > Operating Systems > CentOS7
> Installation Media
Next, I tried deploying a new VM into the DMZ using bootdisk based imaging,
pointing at the capsule for content -
On the hosts tab:
content source was the new capsule
On the Operating system tab
provisioning method = bootdisk based
media selection was "all media"
media = the new capsule media source
The VM was created fine, but it is still trying to download something from
the main katello server (which it can't get to because of firewall rules) -
I thought the idea of a capsule was that all provisioning/content could be
handled by the capsule - am I doing something wrong? Using the spoof
address to inspect the kickstart file
(https://servername/unattended/provision?spoof=xxx.xxx.xxx.xxx)
I can't see any mention of wellkatellotst.niwa.local (the internal katello
server), and the install URL is set to the capsule -
I thought the idea of a capsule was that all provisioning/content could be
handled by the capsule - am I doing something wrong? Using the spoof
address to inspect the kickstart file
(https://servername/unattended/provision?spoof=xxx.xxx.xxx.xxx)
I can’t see any mention of wellkatellotst.niwa.local (the internal katello
server), and the install URL is set to the capsule -
I added it manually as it didn't appear - possible it doesn't even exist How do I sync the existing kickstart repo to the capsule?
···
On Friday, July 8, 2016 at 6:29:23 AM UTC+12, Eric Helms wrote:
>
> When you say you added installation media, did you add it manually or did
> you sync a kickstart repository?
>
>
>
I have synced everything except the *-Desktop environments
Having read a bit about the installation media, it looks like if Katello
detects there is installation media available, it should be automatically
created. I checked under "Manage organizations" > NIWA, > Media, but there
is no new media available other than the existing
"NIWA/Library/Centos7/os_x86_64" media (which is already a "selected item"
So I guess I'm asking how do I make installation media available on the
capsule?
···
On Friday, July 8, 2016 at 10:11:13 AM UTC+12, Dylan Baars wrote:
>
>
>
> So I guess I'm asking how do I make installation media available on the
> capsule?
>
> Thanks for your help!
> Dylan
>
But if I attempt to create a new VM, deploying a new VM into the DMZ using
bootdisk based imaging, pointing at the capsule for content -
On the hosts tab:
content source was the new capsule
On the Operating system tab
provisioning method = bootdisk based
media selection was "all media"
media = the new capsule media source
The VM was created fine, but it is still trying to download something from
the main katello server (which it can't get to because of firewall rules) -
It is trying to download the kickstart file from the main katello server.
Inspecting the kickstart file using the spoof address, everything in the
kickstart is pointing at the capsule address for content etc,
but there is no equivalent (kickstart provisioning address) on the capsule
in the DMZ. I created an HTTP hole for a test VM to the katello server,
booted and it started working - all content is downloaded from the capsule
in the DMZ, but the kickstart file is stored on the main server. Is there a
way to have the kickstart file be created and presented on the capsule that
the server is being built from? Shall I submit a feature request?
Under Host > Provisioning Templates, if I do a search for "Kind = Bootdisk"
only two are listed:
Bootdisk iPXE - generic host
Bootdisk iPXE - host
but I'm not sure how (or which) of these are chosen given the templates
resolved above?
Thanks for your help
Dylan
···
On Monday, July 11, 2016 at 8:23:46 PM UTC+12, Lukas Zapletal wrote:
>
> > The installation media is there and available/visible, but the bootdisk
> > being created is using the wrong installation source?
>
> Which bootdisk are you using?
>
> Have you tried Subnet bootdisk? That should do it via capsule.
>
> --
> Later,
> Lukas #lzap Zapletal
>