Is it not possible to use an nfs based repo for kickstart under CentOS 7.5?
E.g.
repo --name=epel --baseurl=file://server/path/to/local/copy/of/epel
With trial and error I figured out that this is the correct syntax to use for an nfs-based repo. But packages from this repo in the %packages section are not found.
You have specificed that the package 'bla' should be installed. This package does not exist. ...
It works with http off the same server and location, but I'd rather not use that.
NFS installation as such, using nfs --server ... -- dir ..., off the same server and filesystem is working fine. So there is no problem here with nfs or repo setup.
On Fri, 14 Dec 2018 at 05:02, isdtor isdtor@gmail.com wrote:
Is it not possible to use an nfs based repo for kickstart under CentOS 7.5?
E.g.
repo --name=epel --baseurl=file://server/path/to/local/copy/of/epel
So the syntax looks to be
repo --name=epel --baseurl=nfs://server:/path
that colon after server is not a spelling error. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id48
With trial and error I figured out that this is the correct syntax to use for an nfs-based repo. But packages from this repo in the %packages section are not found.
You have specificed that the package 'bla' should be installed. This package does not exist. ...
It works with http off the same server and location, but I'd rather not use that.
NFS installation as such, using nfs --server ... -- dir ..., off the same server and filesystem is working fine. So there is no problem here with nfs or repo setup.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Stephen John Smoogen writes:
On Fri, 14 Dec 2018 at 05:02, isdtor isdtor@gmail.com wrote:
Is it not possible to use an nfs based repo for kickstart under CentOS 7.5?
E.g.
repo --name=epel --baseurl=file://server/path/to/local/copy/of/epel
So the syntax looks to be
repo --name=epel --baseurl=nfs://server:/path
that colon after server is not a spelling error. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id48
That seems to work now. Some error messages made it look like nfs: wasn't supported at all. Thanks.
So the syntax looks to be
repo --name=epel --baseurl=nfs://server:/path
that colon after server is not a spelling error. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id48
That seems to work now. Some error messages made it look like nfs: wasn't supported at all. Thanks.
Well, I spoke too soon - forgot to update the template and the test vm still kickstarted with http repos.
This is not working, the problem persists as described in my original post.
On Fri, Dec 14, 2018 at 10:04 AM isdtor isdtor@gmail.com wrote:
So the syntax looks to be
repo --name=epel --baseurl=nfs://server:/path
that colon after server is not a spelling error. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id48
That seems to work now. Some error messages made it look like nfs:
wasn't supported at all.
Thanks.
Well, I spoke too soon - forgot to update the template and the test vm still kickstarted with http repos.
This is not working, the problem persists as described in my original post.
Try using the IP address of the nfs server. e.g:
repo --name=epel --baseurl=nfs://10.0.0.10:/path
Phelps, Matthew writes:
On Fri, Dec 14, 2018 at 10:04 AM isdtor isdtor@gmail.com wrote:
So the syntax looks to be
repo --name=epel --baseurl=nfs://server:/path
that colon after server is not a spelling error. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id48
That seems to work now. Some error messages made it look like nfs:
wasn't supported at all.
Thanks.
Well, I spoke too soon - forgot to update the template and the test vm still kickstarted with http repos.
This is not working, the problem persists as described in my original post.
Try using the IP address of the nfs server. e.g:
repo --name=epel --baseurl=nfs://10.0.0.10:/path
No joy.
Phelps, Matthew writes:
On Fri, Dec 14, 2018 at 10:04 AM isdtor isdtor@gmail.com wrote:
So the syntax looks to be
repo --name=epel --baseurl=nfs://server:/path
that colon after server is not a spelling error. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id48
That seems to work now. Some error messages made it look like nfs:
wasn't supported at all.
Thanks.
Well, I spoke too soon - forgot to update the template and the test vm still kickstarted with http repos.
This is not working, the problem persists as described in my original post.
Try using the IP address of the nfs server. e.g:
repo --name=epel --baseurl=nfs://10.0.0.10:/path
Have it working now as per documentation. Thanks for the responses.