CloudLinux VM not recognized
See original GitHub issueI’ve encountered a CloudLinux VM that distro
is unable to recognize:
$ distro
Name:
Version:
Codename:
$ python -c 'import distro; print(distro.linux_distribution())'
('', '', '')
The problem is that none of the normal search strategies work:
$ which lsb_release
/usr/bin/which: no lsb_release in (...)
$ ls /etc/*release
ls: cannot access /etc/*release: No such file or directory
$ ls /etc/*version
ls: cannot access /etc/*version: No such file or directory
$ uname -a
Linux web.illinois.edu 3.10.0-962.3.2.lve1.5.24.9.el7.x86_64 #1 SMP Wed Feb 13 08:24:50 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/version
Linux version 3.10.0-962.3.2.lve1.5.24.9.el7.x86_64 (mockbuild@buildfarm02.cloudlinux.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Wed Feb 13 08:24:50 EST 2019
The only strategy that seems to work is:
$ hostnamectl
Static hostname: web.illinois.edu
Icon name: computer-vm
Chassis: vm
Boot ID: 5b5b8c522ccd4974808f192aea001491
Virtualization: kvm
Operating System: CloudLinux 7.6 (Vladimir Lyakhov)
CPE OS Name: cpe:/o:cloudlinux:cloudlinux:7.6:GA:server
Kernel: Linux 3.10.0-962.3.2.lve1.5.24.9.el7.x86_64
Architecture: x86-64
We may need to add another search strategy to support this type of VM.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
CloudLinux VM not recognized · Issue #240 · python-distro/distro ...
I've encountered a CloudLinux VM that distro is unable to recognize: $ distro Name: Version: Codename: $ python -c ... CloudLinux VM not...
Read more >Help me, How to login on VMware Images CloudLinux?
cloudlinux as password DOES NOT WORK in Cpanel Vmware or WHM, ... Finally clicking this ovf is recognized by vmware workstation pro.
Read more >Installation - Documentation - CloudLinux
Replacing the server hardware affects specifications and support for such hardware from CloudLinux OS end. It is most likely that the CloudLinux OS...
Read more >Administration - Cloudlinux OS Solo Documentation
This section contains information that will be useful for server administrators that want to automatize server configuration or do some unusual things which...
Read more >CloudLinux OS Shared Pro - Documentation
If slow requests were not detected during the tracing task, the following is displayed. Here, you can also view all requests. X-Ray collects...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So
re.search
aroundhostnamectl
output, or something like dcar if we want to stop calling binaries directly in the future.This version of
hostnamectl
doesn’t have a--json
option.