mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
4d1f9eda9d
* 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")
|
|
}
|