Think this will do what i need it to do?

#Change UUID
rm -f /etc/machine-id
rm -f /var/lib/dbus/machine-id
dbus-uuidgen --ensure
systemd-machine-id-setup
#Remove Spacewalk Client
rpm -e rhn-client-tools rhn-setup python2-rhn-client-tools rhn-check yum-rhn-plugin python2-rhn-setup  python2-rhn-check rhnsd python2-rhncfg python2-osad rhncfg osad rhncfg-client rhncfg-actions python2-spacewalk-usix spacewalk-usix rhncfg-actions rhncfg-client python2-rhncfg-client python2-rhncfg-actions jabberpy osad python2-osa-common
yum install -y libsodium openpgm python2-zmq4

---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.



On Tue, Jul 14, 2020 at 4:15 PM Len Ewen <ewenf@uindy.edu> wrote:
mind if I send you a copy of my tinkerings for review, I am seriously no coder and I'm afraid to break shit.  I've also got to hack the thing to remove the old spacewalk client, so this will be all kinds of joy.

---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.



On Tue, Jul 14, 2020 at 3:45 PM Matthias Hinrichs <matthias.hinrichs@me.com> wrote:
When I had to register several hundred machines of a customer I did that with a customized bootstrap script. I just added the commands to create a new uuid in the beginning of that script. If I remember correctly I pasted the lines (after I had tested it on one or two machines) right after the comment block which tells you to NOT EDIT BEYOND THIS POINT ;)


Worked perfectly for me ;)

Best regards 
Matthias


Am 14.07.2020 um 20:57 schrieb Len Ewen <ewenf@uindy.edu>:



Succinctly, well shit.  To do this on 150 vms will be a freaking nightmare.  Suggestions?  I'm not good at coding, but is there a way I could hack the bootstrap.sh to fix this?
---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.



On Tue, Jul 14, 2020 at 2:31 PM Matthias Hinrichs <matthias.hinrichs@me.com> wrote:
That went quick, there is now also an advice on the Suse documentation. 


That explains exactly what to do if you run into that issue. 

Best regards 
Matthias

Matthias Hinrichs

Am 14.07.2020 um 20:28 schrieb Matthias Hinrichs <matthias.hinrichs@me.com>:

Hello

The systems uuid is used by saltstack to identify the machines. The first registered machine behaves correctly and the following ones will replace that one. 

There was an article on the microfocus wiki how to handle that and how to create a new uuid on the VMs. 

I will check if I find it again ...

Best Regards
Matthias

Matthias Hinrichs

Am 14.07.2020 um 20:00 schrieb Len Ewen <ewenf@uindy.edu>:


How does the UUID relate in the grand scheme of things in uyuni?  I have a set of machines with the same UUID beause they are just VM clones.  They are the only thing that is the same between images that I can discrene as being similar. When I try to add them they don't add into Uyuni correctly, swapping machines in and out as to which is showing at any time.  The name might be different from IP address.  What do I do, because changing the UUID on all my machines isn't happening. 

---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.