mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-30 16:19:52 +00:00
* Add functionality for etcd snapshot/restore to and from S3 compatible backends. * Update etcd restore functionality to extract and write certificates and configs from snapshot.
10 lines
139 B
Go
10 lines
139 B
Go
// +build freebsd
|
|
|
|
package xid
|
|
|
|
import "syscall"
|
|
|
|
func readPlatformMachineID() (string, error) {
|
|
return syscall.Sysctl("kern.hostuuid")
|
|
}
|