Re: [CentOS] CentOS7 kickstart question

2018-12-14 Thread isdtor
Phelps, Matthew writes:
> On Fri, Dec 14, 2018 at 10:04 AM isdtor  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.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 kickstart question

2018-12-14 Thread isdtor
Phelps, Matthew writes:
> On Fri, Dec 14, 2018 at 10:04 AM isdtor  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.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 kickstart question

2018-12-14 Thread Phelps, Matthew
On Fri, Dec 14, 2018 at 10:04 AM isdtor  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

-- 

*Matt Phelps*

*Information Technology Specialist, Systems Administrator*

(Computation Facility, Smithsonian Astrophysical Observatory)

Center for Astrophysics | Harvard & Smithsonian


60 Garden Street | MS 39 | Cambridge, MA 02138
email: mphe...@cfa.harvard.edu


cfa.harvard.edu | Facebook  | Twitter
 | YouTube 
| Newsletter 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 kickstart question

2018-12-14 Thread isdtor


> > 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.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 kickstart question

2018-12-14 Thread isdtor
Stephen John Smoogen writes:
> On Fri, 14 Dec 2018 at 05:02, isdtor  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.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 kickstart question

2018-12-14 Thread Stephen John Smoogen
On Fri, 14 Dec 2018 at 05:02, isdtor  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 J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos