Добрый день.
Настраиваю автоматическую настройку развертывания ОС по PXI c tftp по данной инструкции Установка Astra Linux по сети
Настроен DHCP. TFTP, HTTPD.
Настройки DHCP:
non-authoritative;
allow bootp;
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
option architecture-type code 93 = unsigned integer 16;
subnet 10.70.44.0 netmask 255.255.255.0 {
option routers 10.70.44.182;
range 10.70.44.100 10.70.44.253;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 10.70.44.195;
if option architecture-type = 00:07 {
filename "uefi/grubx64.efi";
}
else {
filename "/pxelinux.0";
}
}
}
Настройки HTTPD:
<VirtualHost *:80>
ServerAdmin inno
DocumentRoot "/var/lib/tftpboot/"
ServerName srv-ans-kic.local
ServerAlias srv-ans-kic
ErrorLog "/var/log/httpd/error_log"
CustomLog "/var/log/httpd/access_log" common
<Directory /var/lib/tftpboot/>
Options +Indexes
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
./pxelinux.cfg/default
default menu.c32
prompt 0
timeout 150
ONTIMEOUT local
MENU TITLE PXE Menu
LABEL REDOS
MENU LABEL REDOS
KERNEL webdata/REDOS/images/pxeboot/vmlinuz
APPEND initrd=webdata/REDOS/images/pxeboot/initrd.img ramdisk_size=128000 ip=dhcp method=http://10.70.44.195/webdata/REDOS/ devfs=nomount ks=http://10.70.44.195/webdata/ks/ks.cfg
LABEL ASTRA
MENU LABEL ASTRA 1.7
KERNEL webdata/ASTRA/linux
APPEND append initrd=webdata/ASTRA/initrd.gz modprobe.blacklist=evbug auto=true priority=critical debian-installer/locale=en_US console-keymaps-at/keymap=ru astra-license/license=true auto
url=http://10.70.44.195/webdata/preseed/preseed.cfg interface=auto 0 vga=788
preseed.cfg часть зеркала:
# Репозиторий для установки
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string 10.70.44.195
d-i mirror/http/directory string /webdata/ASTRA/
d-i mirror/http/proxy string
После выбора образа ASTRA и автоматической настройки сети появляется ошибка:
Программе установки не удалось скачать файл с зеркала. Это может быть проблема вашей сети, так и зеркала. Вы можете повторить попытку загрузки, выбрать другое зеркало или отказаться от скачивания и выбрать другой способ установки. Не удалось загрузить файл:
повторить и сменить зеркало архива возвращаются на это же сообщение.
Как решить проблему с загрузкой?
Настраиваю автоматическую настройку развертывания ОС по PXI c tftp по данной инструкции Установка Astra Linux по сети
Настроен DHCP. TFTP, HTTPD.
Настройки DHCP:
non-authoritative;
allow bootp;
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
option architecture-type code 93 = unsigned integer 16;
subnet 10.70.44.0 netmask 255.255.255.0 {
option routers 10.70.44.182;
range 10.70.44.100 10.70.44.253;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 10.70.44.195;
if option architecture-type = 00:07 {
filename "uefi/grubx64.efi";
}
else {
filename "/pxelinux.0";
}
}
}
Настройки HTTPD:
<VirtualHost *:80>
ServerAdmin inno
DocumentRoot "/var/lib/tftpboot/"
ServerName srv-ans-kic.local
ServerAlias srv-ans-kic
ErrorLog "/var/log/httpd/error_log"
CustomLog "/var/log/httpd/access_log" common
<Directory /var/lib/tftpboot/>
Options +Indexes
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
./pxelinux.cfg/default
default menu.c32
prompt 0
timeout 150
ONTIMEOUT local
MENU TITLE PXE Menu
LABEL REDOS
MENU LABEL REDOS
KERNEL webdata/REDOS/images/pxeboot/vmlinuz
APPEND initrd=webdata/REDOS/images/pxeboot/initrd.img ramdisk_size=128000 ip=dhcp method=http://10.70.44.195/webdata/REDOS/ devfs=nomount ks=http://10.70.44.195/webdata/ks/ks.cfg
LABEL ASTRA
MENU LABEL ASTRA 1.7
KERNEL webdata/ASTRA/linux
APPEND append initrd=webdata/ASTRA/initrd.gz modprobe.blacklist=evbug auto=true priority=critical debian-installer/locale=en_US console-keymaps-at/keymap=ru astra-license/license=true auto
url=http://10.70.44.195/webdata/preseed/preseed.cfg interface=auto 0 vga=788
preseed.cfg часть зеркала:
# Репозиторий для установки
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string 10.70.44.195
d-i mirror/http/directory string /webdata/ASTRA/
d-i mirror/http/proxy string
После выбора образа ASTRA и автоматической настройки сети появляется ошибка:
Программе установки не удалось скачать файл с зеркала. Это может быть проблема вашей сети, так и зеркала. Вы можете повторить попытку загрузки, выбрать другое зеркало или отказаться от скачивания и выбрать другой способ установки. Не удалось загрузить файл:
повторить и сменить зеркало архива возвращаются на это же сообщение.
Как решить проблему с загрузкой?