CentOS Linux machine-id

Contents
Introduction
Узнать machine-id
Изменить machine-id
Создать новый machine-id
Сгенерировать с помощью dbus
Статьи про CentOS

Introduction

Узнать свой machine-id

cat /etc/machine-id

4ab7d70cacd0d33ca5bc9b2344e5e328

Изменить machine-id

Удалите старый machine-id

sudo rm /etc/machine-id

Сгенерируйте новый machine-id

sudo systemd-machine-id-setup

Проверьте результат

cat /etc/machine-id

Теперь желательно перезагрузиться и проверить всё ли работает правильно

Создать новый machine-id

Если вы удалили machine-id создать новый можно командой

systemd-machine-id-setup

Изменить machine-id

Если генерируется всё время один и тот же id значит скорее всего он берётся откуда-то ещё

Можно сгенерировать его самостоятельно с помощью dbus--uuidgen

rm -f /etc/machine-id
dbus-uuidgen --ensure=/etc/machine-id
dbus-uuidge --ensure
cat /etc/machine-id

Related Articles
CentOS
Network Configuration
Date Time
X Window System CentOS
XRDP: Remote Desktop
VNC: Remote Desktop
Change machine-id
Change ulimit
xclip: Buffer
docker-ce: install in CentOS 8
FAQ
Errors
Install virtual CentOS on Ubuntu
Docker container CentOS with SSH access
Banner Image

Search on this site

Subscribe to @aofeed channel for updates

Visit Channel

@aofeed

Feedback and Questions in Telegram

@aofeedchat