summaryrefslogtreecommitdiffstats
path: root/boot-env
diff options
context:
space:
mode:
Diffstat (limited to 'boot-env')
-rw-r--r--boot-env/OpenSLX/BootEnvironment/PBS.pm8
-rwxr-xr-xboot-env/pbs/uclib-rootfs/init1
2 files changed, 4 insertions, 5 deletions
diff --git a/boot-env/OpenSLX/BootEnvironment/PBS.pm b/boot-env/OpenSLX/BootEnvironment/PBS.pm
index 2e7ef706..2072884b 100644
--- a/boot-env/OpenSLX/BootEnvironment/PBS.pm
+++ b/boot-env/OpenSLX/BootEnvironment/PBS.pm
@@ -92,12 +92,12 @@ sub writeBootloaderMenuFor
'systems' => $systemInfos
});
my $ua = LWP::UserAgent->new;
- my $res = $ua->request(POST 'http://pbs.lan/backend/system/sync', [data => $data_json]);
+ my $res = $ua->request(POST 'http://pbs.experimental.openslx.org/backend/system/sync', [data => $data_json]);
if ($res->is_success) {
my $resData = from_json($res->content);
if ($resData->{'getKernel'} eq 'fresh') {
- $res = $ua->request(POST 'http://pbs.lan/backend/system/addkernel',
+ $res = $ua->request(POST 'http://pbs.experimental.openslx.org/backend/system/addkernel',
['kernel' => basename($prebootSystemInfo->{'kernel-file'}),
'kernelFile' => ["$self->{'target-path'}/imagebase/vmlinuz"],
'initramfsFile' => ["$self->{'target-path'}/imagebase/initramfs"],
@@ -109,7 +109,7 @@ sub writeBootloaderMenuFor
} else {
if ($resData->{'getKernel'} eq 'update') {
- $res = $ua->request(POST 'http://pbs.lan/backend/system/updatekernel',
+ $res = $ua->request(POST 'http://pbs.experimental.openslx.org/backend/system/updatekernel',
['kernel' => basename($prebootSystemInfo->{'kernel-file'}),
'kernelFile' => ["$self->{'target-path'}/imagebase/vmlinuz"],
],
@@ -121,7 +121,7 @@ sub writeBootloaderMenuFor
# do nothing
}
if ($resData->{'getInitramfs'} eq 'update') {
- $res = $ua->request(POST 'http://pbs.lan/backend/system/updateinitramfs',
+ $res = $ua->request(POST 'http://pbs.experimental.openslx.org/backend/system/updateinitramfs',
['kernel' => basename($prebootSystemInfo->{'kernel-file'}),
'initramfsFile' => ["$self->{'target-path'}/imagebase/initramfs"],
],
diff --git a/boot-env/pbs/uclib-rootfs/init b/boot-env/pbs/uclib-rootfs/init
index 0706dab8..847cad87 100755
--- a/boot-env/pbs/uclib-rootfs/init
+++ b/boot-env/pbs/uclib-rootfs/init
@@ -209,7 +209,6 @@ echo "macaddr=$macaddr" >>/etc/initramfs-setup
# user choose what kind of SLX client he wants to get
dialog --infobox "Fetching preboot interactive part and configuration from \
the net ($boot_uri) ..." 4 65
-echo -e "192.168.2.100\t pbs.lan" > /etc/hosts
mkdir -p /preboot
wget -q -O /preboot/preboot.init ${boot_uri}bootloader/env/getinit/formedia/$PBS_ID
chmod u+x /preboot/preboot.init