我想通过代理访问一个启动文件。启动文件托管在公共internet上,但是执行安装的服务器只能通过代理访问internet。
当启动文件在本地可用时,以下内容可以工作:
tftp中工作的示例grub.cfg:
menuentry 'Install CentOS Stream 8' {
linuxefi centos-st8/vmlinuz ip=dhcp inst.ks="http://localhost/centos-st8-ks.cfg" nomodeset inst.proxy="http://192.168.0.3:3128"
initrdefi centos-st8/initrd.img
}相同的kickstart文件有以下内容:
text
url --url="https://public.example.com/centos-rpm-remote/8-stream/BaseOS/x86_64/os/" --proxy=http://192.168.0.3:3128/是否有一个配置或设置也允许我在仅通过代理服务器192.168.0.3:3128访问的某个地方承载启动文件?
如下所示:
menuentry 'Install CentOS Stream 8' {
linuxefi centos-st8/vmlinuz ip=dhcp inst.ks="http://public.example.com/centos-st8-ks.cfg" nomodeset inst.proxy="http://192.168.0.3:3128"
initrdefi centos-st8/initrd.img
}发布于 2021-11-30 19:30:04
答案似乎是使用“代理”或"inst.proxy“,尽管Anaconda在启动时会抱怨。
menuentry 'Install CentOS Stream 8' {
linuxefi centos-st8/vmlinuz ip=dhcp inst.ks="http://public.example.com/centos-st8-ks.cfg" nomodeset proxy="http://192.168.0.3:3128"
initrdefi centos-st8/initrd.img
}https://serverfault.com/questions/1084912
复制相似问题