Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Host won't reenroll with different MAC address #2298

Closed
drubenstein opened this issue Sep 10, 2020 · 1 comment
Closed

Host won't reenroll with different MAC address #2298

drubenstein opened this issue Sep 10, 2020 · 1 comment

Comments

@drubenstein
Copy link

What version of fleet are you using (fleet version --full)?

fleet - version 2.6.0
branch: master
revision: d3849d8
build date: 2020-03-24T17:27:31Z
build user: zwass
go version: go1.13.4

What operating system are you using?

RHEL 7

What did you do?

Rebuild stateless RHEL 7 workstation in a RHEV environment. They get new MAC addresses but have the same hostname.

What did you expect to see?

Hosts in Fleet reenrolled

What did you see instead?

Hosts enroll as new hosts instead of using the existing enrolled host.

@zwass
Copy link
Contributor

zwass commented Sep 17, 2020

This is because hosts are not uniquely identified by hostname. They are uniquely identified by information stored in the osquery RocksDB database. If you want a cloned host to appear as the same host you will need to copy over the osquery db.

@zwass zwass closed this as completed Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants