I have a process which applies a image/clone of a “fully configured” debian-based system to batches of like hardware, and then customizes several key system properties POST flash for uniqueness before the devices ship. Different than most answers i find, this is “one -> many” source to “fleet”.
I expect there is quite a bit of overlap with existing tools, but I don’t have any experience with “fleet provisioning” for “full os” machines and haven’t been very successful on google. We have gone down this route (custom solution) as an interim as it was minimally sufficient for now, and was much simpler technically than automating the post-os-install device setup via ~
ansible or similar. It appears to be working and solved a POC need, but as we look at taking this further we’d like to ensure we’re considering established approaches.
My question is twofold:
Today, we automate customizing the following:
adminuser (only user with login enabled)
For reference, the devices are essentially small x86 embedded servers that serve as hubs with wan connectivity. There are a number of tools on installed into the system for device management & telemetry, and business functions. In the future we’ll need to support trusted boot and disk encryption.
Appreciate your advice.
I am configuring a network interface on my server, editing this file
I need to have a list of IP address configured which all are in the same ip-block.
For now i’m writing every single ip address separately on the configuration file.
I would like to know if it’s possible to activate a whole block / range of ip in one shot ?
What i have inside for now s something like this :
auto lo iface lo inet loopback dns-nameservers xxx.xxx.33.99 auto eno1 iface eno1 inet dhcp mtu 1500 auto eno1:0 iface eno1:0 inet static address xx5.xx9.xx.0 netmask 255.255.255.255 auto eno1:1 iface eno1:1 inet static address xx.xx.xx.1 netmask 255.255.255.255 auto eno1:2 iface eno1:2 inet static address xx.xx.xx.2 netmask 255.255.255.255 auto eno1:3 iface eno1:3 inet static address xx.xx.1xx.3 netmask 255.255.255.255 auto eno1:4 iface eno1:4 inet static address xx.xx.xx.4 netmask 255.255.255.255 auto eno1:5 iface eno1:5 inet static address xx.xx.xx.5 netmask 255.255.255.255 auto eno1:6 iface eno1:6 inet static address xx6.xx.xx.6 netmask 255.255.255.255 auto eno1:7 iface eno1:7 inet static address xx6.xx.xx.7 netmask 255.255.255.255
I’ve been using Debian preseed files for a while now doing netinstalls of Debian and Ubuntu.
Ubuntu 20.04 has a weird video problem even on the text terminal. After install, sometimes you can’t see anything. The host is working over the network properly but nothing on vga output.
Adding nomodeset to the kernel commmandline list fixes it.
I’d like to just add nomodeset to the kernel args that the system is installed with but I’m having a heck of a time finding the preseed option for specifying additional kernel arguments / kernel commandline.
I tried merely adding nomodeset during the launch of the installer but that didn’t appear to take hold on the installed environment eiher.
What is the proper way in a Debian Installer preseed file, to specify additional kernel arguments that should be applied to the installed system?
I (me and my wife) run a small Debian 10/Buster web server with a few websites for friends and need to set up outgoing email. I’ve got to the point where I can send emails from the command line (
echo "Message Body" | mail -s "Message Subject" TARGET_EMAIL_HERE).
We need a set up that meets the following requirements:
What we have:
I’m aware this is the bare minimum of info, but I’d like some guidance on setting up and securing Postfix for this kind of usage.
I am experimenting with creating a .deb package and am unsure about the file structure of a package. Is the directory that contains
rules, etc supposed to be named
I am using
dpkg-deb to package it, and it seems to require
DEBIAN, and I am trying to use Lintian to check it, and it isn’t recognizing the
copyright files. Lintian throws the errors
no-copyright-file but later warns
unknown-control-file changelog and
unknown-control-file copyright. Looking at this page, it suggests using
debian, and I rename the directory to that but it causes
dpkg-deb to fail. Reading through the Debian Policy Manual, it usually uses
debian in examples, but occasionally uses
DEBIAN, which makes me wonder if in certain circumstances both may be needed. What is the right way to do this?
root@vps434142:~# certbot Traceback (most recent call last): File "/usr/bin/certbot", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3017, in <module> @_call_aside File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3030, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 659, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 967, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 853, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'certbot==0.28.0' distribution was not found and is required by the application
I am a software developer and have only a basic understanding about Linux systems. We are in a migration phase from GCP to AWS and found that the Linux headers are missing while installing Cloud endure agent.
On checking found that the version 4.9.0-11-amd64 is missing in debian repository. Is there any way to install the header version 4.9.0-11-amd64 ?
Any help would be highly appreciated.
I have a chatbot written in Python, basically, it is just a bunch of
.py files. Also, I have a web server with Debian GNU/Linux. How can I run my
.py files in on my web server?
Following a suggestion from Stackoverflow I will try to seek help here:
I just randomly found a Bluegiga BLED112 Bluetooth dongle and I tried to connect it to my Debian 10 laptop as a basic dongle for Bluetooth audio outs.
Unfortunately I wasn’t able to solve all the issues I had, starting from the fact that the device is not fully listed once used
lsusb and just a mere ID number – namely
ID 2458:0001 – pops out and
bluez helps weren’t successful either.
This given, I tried to follow several of the guides you can find online, also by running available scripts, but again nothing worked.
So if it’s possible, what should I do in order to run such a dongle for the basic use I mentioned above – i.e. just for connecting my stereo speakers to my computer?