[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: dynamic url parameter in ks file to support different architectures



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jodok Ole Muellers wrote:
 > But that is not working. Anaconda is then asking interactively for an install
medium/url.
> The back-ticked uname is not the problem, I also hard coded the architecture for testing:
> echo "url --url http://install.server.tld/linux/redhat/rhel5.4/x86_64/"; > /tmp/archurl
> but that is also not working. 
> 
> Any suggestions ?

Unfortunately, the url cannot be added with %include. It has to be there from
the start. Do you know the arch of the system when you kickstart it or do you
need to rely on some type of autodetection? If the former, you could use a cgi
script in place of the kickstart file and pass the arch as a variable. For example:

ks=http://install.server.tld/cgi-bin/ks.cgi?ks=rhel5.4&arch=x86_64

- --
Kyle Powell | Red Hat | Senior Consultant, RHCE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFK6zaG7pTtanQdBU4RAmRoAJwOP87ItcK7VozbVrcNAN87rzTxvQCeKIwR
CTFCx5arAxIweGdE+URFvgw=
=qPNx
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]