[SOLVED] WADS Linux

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

April 25, 2025 - 11:58

Hello,
I'm continuing my OS deployment tests, which went perfectly and quite simply on Windows (well done!).
I'm now testing on Linux (Debian)...
Is there a section on this topic in the documentation (I haven't found it, but just in case ;) )?
At startup, I get an error, which I deduce is a formatting issue. Do you have an example of a formatting configuration for Linux?

Thank you in advance.
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 25, 2025 - 1:09 PM

Hello,

a few points to note: the USB key (WinPE) is not available (since it's a WinPEinstallation ;) ).

Therefore, you will have to boot via IPXE (network boot).

The currently available configurations (Ubuntu and Debian) will connect directly to the internet to retrieve sources and repositories, so the data streams must be available.
Otherwise, just follow the prompts by unchecking "for Windows" in the configuration settings. You will then need to load an IPXE script and a Pressed configuration.

(Formatting settings must be configured directly within the configuration.)

Regarding the configuration, I confirm that there is nothing available on this topic at the moment.
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

April 29, 2025 - 12:43

Hello Simon

Thank you for the feedback, I hadn't seen the reply

I'm off to a good start with IPXE ;)
I downloaded the basic "debian" configuration file using a "debian-12.9.0-amd64-netinst" ISO. What should I put in the ipxe script?
I loaded the "config_debian_basic.conf" file, but WADS is still asking me to configure djoin. Is this normal?

Alternatively, I tested it without the ipxe script, and I get this error at step 5 of WADS

Code: Select all

ISO : Error on Iso Decompression : T7zReader.OpenFile error 1 (ERROR_INVALID_FUNCTION) 12:35:08 04/29/25 

Thank you for your help
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 29, 2025 - 12:48

Emmanuel64 wrote: Apr 29, 2025 - 12:43 I took the basic "debian" configuration file with a "debian-12.9.0-amd64-netinst" ISO. What should I put in the ipxe script?
No need to install an ISO for Debian; it will connect directly to the Debian repository. For the IPXE script, simply click the folder button next to "Load an IPXE script" and load the Debian one.
Emmanuel64 wrote: Apr 29, 2025 - 12:43 I loaded the "config_debian_basic.conf" file but WADS still asks me to configure djoin, is that normal?
Oops, the "config_debian_basic.conf" template hasn't been modified in a long time. The last one that was updated was "debian_desktop_djoin.conf"
I'm going to look into either creating a new basic template or removing the "basic" part
Emmanuel64 wrote: Apr 29, 2025 - 12:43 Alternatively, I tested it without the ipxe script, and I get this error at step 5 of WADS

Code: Select all

ISO : Error on Iso Decompression : T7zReader.OpenFile error 1 (ERROR_INVALID_FUNCTION) 12:35:08 04/29/25 
If you are testing without IPXE, this message is perfectly normal ;)
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 29, 2025 - 1:12 PM

I just modified the Debian Basic template:

Code: Select all

#### Contents of the preconfiguration file
### Localization

d-i console-setup/ask_detect boolean false

# Locale setting.
d-i debian-installer/language string fr
d-i debian-installer/country string FR
d-i debian-installer/locale string fr_FR.UTF-8

# Keyboard.
d-i console-keymaps-at/keymap select fr-latin9
d-i keyboard-configuration/xkb-keymap select fr(latin9)

# Zone
d-i time/zone string Europe/Paris


# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string {{hostname}}
d-i netcfg/get_domain string unassigned-domain

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string

### Mirror settings
d-i debian-installer/allow_unauthenticated boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string http://ftp.fr.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Root password, either in clear text
d-i passwd/root-password password rootroot
d-i passwd/root-password-again password rootroot
# or encrypted using a crypt(3)  hash.
#d-i passwd/root-password-crypted password [crypt(3) hash]

# To create a normal user account.
d-i passwd/user-fullname string noroot
d-i passwd/username string noroot
# Normal user's password, either in clear text
d-i passwd/user-password password norootnoroot
d-i passwd/user-password-again password norootnoroot

# Set to true if you want to encrypt the first user's home directory.
d-i user-setup/encrypt-home boolean false

### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true


# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# LG provided NTP, should be replaced!
d-i clock-setup/ntp-server string ntp.ubuntu.com

#d-i partman/early_command string debconf-set partman-auto/disk

d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

krb5-config krb5-config/default_realm string UNASSIGNED-REALM
krb5-config krb5-config/kerberos_servers string localhost
krb5-config krb5-config/admin_server string localhost

### Package selection for server
tasksel tasksel/first multiselect

### Package selection for desktop workstation
#tasksel tasksel/desktop mate

# Individual additional packages to install
d-i pkgsel/include string openssh-server
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select full-upgrade

d-i pkgsel/update-policy select none

# Individual additional packages to install
d-i pkgsel/include string openssh-server \
    vim \
    git \
    tmux \
    build-essential \
    telnet \
    wget \
    curl \
    krb5-user

# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev  string default
d-i finish-install/reboot_in_progress note

d-i preseed/late_command string chroot /target bash -c 'wget {{secondary_repo}}wapt/waptagent/tis-waptagent-amd64.deb --directory-prefix /tmp/ ;\
apt-get install /tmp/tis-waptagent-*.deb -y ;\
/opt/wapt/wapt-get.bin reset-config-from-url {{url_conf_default}}'             
This template does not put Debian in the domain and therefore does not require djoin ;)
It also lacks a graphical interface
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

April 29, 2025 - 2:14 PM

Thanks Simon for your quick reply and for the config file

In the meantime, I tested with "debian_desktop_djoin.conf" and "debian.ipxe", which I didn't have at all (I don't know how I managed to do that) :oops: ) and therefore without ISO
The installation fails at the data verification stage
Effective repository url: https://wapt.domain.local
Hashes's signature signed by: WAPT-Private. OK: Signed properly. Trusted cert: "WAPT-
Private*
Hashes's signature signed by: WAPT-Private. OK: Signed properly. Trusted cert: WAPT-
Private"
Iso Data verification failed: No signer certificate in data
I checked the deployment data signature before deployment, it's OK (invalid signature after failure)

If I try with the official ISO loaded, I still get the same problem despite loading "debian.ipxe"
ISO: Error on Iso Decompression: T7zReader.OpenFile error 1 (ERROR_INVALID_FUNCTION)
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

April 29, 2025 - 4:00 PM

It seems you've started in WinPE mode, which you shouldn't. (Or perhaps you haven't included an IPXE script in the configuration.)

So, if you're testing without IPXE, this message is perfectly normal.

You need to start in IPXE mode: https://www.wapt.fr/fr/doc/wapt-wads.ht ... figuration
jarnaud
Messages: 16
Registration: May 3, 2024 - 3:37 p.m.

April 30, 2025 - 09:22

Hello,

We've added a guide for Linux deployment to the documentation.
Here's the link: https://www.wapt.fr/fr/doc/quickstart-w ... linux.html.

Best regards
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

May 6, 2025 - 09:03

Hello

, thank you for the feedback. I'm a bit overwhelmed at the moment!
I do have the feeling I'm starting with WinPE, but I don't understand why... Could it be a DHCP configuration issue?

I'll start over and double-check the DHCP configuration (which I've set up as hybrid DHCP, as per tutorial 7.3.2.1).

Have a good day!
WAPT Enterprise
Version 2.6.1.17576
Locked