Cloned image
How to prepare a Debian image to install many identical computers, and have each one ask for its own license.
When there are many identical computers, you prepare one model computer, copy its disk (an image) and write that image to the others. With a license request file on the model computer, each copy asks for its own license when it opens for the first time: nobody types data on each computer.
The request file is created on the portal, with the exact names GLORY has on record: there is no need to write it by hand.
First time with the terminal?
This page uses the Linux terminal and the Windows one. The Linux glossary explains each command
Follow the exact order
If the model computer opens the Smart Safe Client before it is copied, all the copies come out with repeated data. Follow the steps in order.
On the model computer
Install Debian 13 as in Debian 13 from scratch, with automatic networking (DHCP), the correct time zone and SSH server checked.
Install the Smart Safe Client with the command from Install on Linux, signed in as the user who will operate it (for example glory). Accept the recommended answers.
Do not restart and do not open the Smart Safe Client
At the end, the installer asks you to restart: do not restart. If you restart, the Smart Safe Client opens by itself.
Write down the model computer's address. In the model computer's terminal, run:
hostname -IThe address appears, for example 192.168.0.50. See hostname
Create the request file on the portal. On your laptop, open Ask for a license › Many computers and fill in:
| Field | What to enter |
|---|---|
| Name | A name to recognize these requests, for example the project's name. It is the same for all copies. |
| Client Company | Choose it from the list: it has the names exactly as they are registered at GLORY. If the company does not appear, open a ticket before you go on |
| Requester Key | It is already filled in: it is yours. If you do not have one yet, tap Create my key |
Tap Download license-request.json. The file goes to the Downloads folder on your laptop.
Do not change your key while copies are being installed
The file carries your Requester Key. If you give it a new code or revoke it, each copy of the image can no longer ask for its license on its own and shows “Requester key in the file was not found” or “Requester key in the file has been revoked”. The portal warns you before you change it. If you change it anyway, create the file again and prepare the image again

Copy the file to the model computer. With both computers on the same network, open the terminal on your Windows laptop (right-click the Start button › Terminal) and run this command, on a single line:
scp "$HOME\Downloads\license-request.json" glory@192.168.0.50:/opt/smart-safe-2/license-request.jsonBefore you press Enter, replace glory with the user who installed the Smart Safe Client and 192.168.0.50 with the address from step 3. $HOME\Downloads is your Downloads folder. See scp
The first time, the terminal asks whether you trust that computer: type yes and press Enter. Then it asks for the user's password: type it (nothing appears while you type it) and press Enter. When it finishes, a line with license-request.json and 100% appears.
Did the browser save it under another name?
If Downloads already had a file with that name, the browser saves the new one as license-request (1).json. Use that name at the start of the command, inside the quotes: on the model computer it still ends up with the correct name.
Check the file. In the model computer's terminal, run:
cat /opt/smart-safe-2/license-request.jsonYour details must appear: the key, the name and the company. See cat
When it opens for the first time, the Smart Safe Client finds this file and asks for the license on its own.
Erase the model computer's identity and turn it off. In the same terminal, copy and paste these two commands and press Enter:
sudo truncate -s 0 /etc/machine-id
sudo poweroffThe first one (truncate in the glossary) empties the file that identifies the computer, so that each copy creates its own identity. The second one turns the computer off (see poweroff)
Copy the disk with your imaging tool and write the image to the other computers.
On each copy
Turn on the computer. The Smart Safe Client opens by itself and, as soon as it reaches GLORY's server, shows Processing license request file... and then License request pending approval.
If there is no network cable where the computer was installed, tap Network (top right) and join the customer's Wi-Fi, or your phone's hotspot. The request goes out by itself as soon as the server answers: there is no need to restart. See A new installation without internet
Write down that computer's Device code and where it is installed: the approval e-mail carries that code, so you know which computer it belongs to. All the requests can also be seen on the portal: License requests
When the approval arrives, open the Smart Safe Client again (or tap ↻) and tap Activate Now. When the license is activated, the Smart Safe Client automatically deletes the request file, which holds your Requester Key.
Sign in with the user glory and the code from the Token Generator
Each copy with its own SSH identity
If the image had SSH turned on, all the copies have the same SSH identity. To give each one its own, see Computers copied from the same image
If the request is not sent
Auto License Request Failed appears, with the reason below it. The file stays for the next time.
| The message says… | What to do |
|---|---|
| “Could not connect to the server…” | The request did not reach GLORY's server. The Smart Safe Client sends it again by itself as soon as the server answers, for about five minutes. If the message stays, tap Network, check the cable or the Wi-Fi and tap Check again: it tries again right away. |
| “Invalid license request file format…”, “Missing required field…” or “Invalid requester key format…” | The file in the image has an error: it was written by hand or changed afterwards. On this computer, ask for the license from the activation screen, as License explains. For the next copies, create the file again on the portal and prepare the image from step 1 |
| “Organization … not found…” or “Ambiguous organization…” | The company name in the file is not the one GLORY has on record. On this computer, ask for the license from the activation screen, as License explains. For the next copies, create the file again on the portal, choosing the company from the list; if it is not there, open a ticket |
| “Requester key in the file was not found…” or “…has been revoked…” | The Requester Key in the file does not work: it was revoked or given a new code. For the next copies, create the file again on the portal. On this computer, ask for the license from the activation screen with your current key, which is in Requester keys |
Next step
With the license active on each copy, continue with 5. Configuration