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
134 B
Go
10 lines
134 B
Go
// +build darwin
|
|
|
|
package xid
|
|
|
|
import "syscall"
|
|
|
|
func readPlatformMachineID() (string, error) {
|
|
return syscall.Sysctl("kern.uuid")
|
|
}
|