ltsp-build-image --chroot option not associated nbd image name

Bug #1592780 reported by Ivan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LTSP5
Expired
Undecided
Unassigned

Bug Description

XUBUNTU 16.04
ltsp-server 5.5.7-1

Build two images (fat and thin)
1) fat without option --chroot
chroot /opt/ltsp/i386; img /opt/ltsp/images/i386.img; tftp /var/lib/tftpboot/ltsp/i386
2) thin with option --chroot i386thin
chroot /opt/ltsp/i386thin; img /opt/ltsp/images/i386thin.img; tftp /var/lib/tftpboot/ltsp/i386thin

for both client nbdroot in initramfs = /opt/ltsp/images/i386.img

Revision history for this message
Alek_A (ackbeat) wrote :

Ubuntu 18.04 LXDE 4.15.0-33-generic
ltsp-server-standalone 5.5.10-1build1

I have two trees:
 /opt/ltsp/amd64
 /opt/ltsp/amd64-libre

Images:
/opt/ltsp/images/amd64.img
/opt/ltsp/images/amd64-libre.img

NBD configs (each config points to correct image):
/etc/nbd-server/conf.d/ltsp_amd64.conf
/etc/nbd-server/conf.d/ltsp_amd64-libre.conf

Have to lines in dnsmasq.conf for 2 types of cliens:
dhcp-boot=tag:ltsp,/ltsp/amd64/pxelinux.0,,172.22.11.21
dhcp-boot=tag:ltsp2,/ltsp/amd64-libre/pxelinux.0,,172.22.11.21

at boot time I see different filenames:
Filename: /ltsp/amd64/pxelinux.0
Filename: /ltsp/amd64-libre/pxelinux.0

but all clients boot to one image: amd64.img

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

The image is defined by ROOTPATH, not by boot filename.
dhcp-option=17,/opt/ltsp/i386

This should correspond to the first line of the nbd configuration files, e.g.
head -n 1 /etc/nbd-server/conf.d/ltsp_*.conf

Changed in ltsp:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for LTSP because there has been no activity for 60 days.]

Changed in ltsp:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.