mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-31 21:49:54 +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
134 B
Go
10 lines
134 B
Go
// +build darwin
|
|
|
|
package xid
|
|
|
|
import "syscall"
|
|
|
|
func readPlatformMachineID() (string, error) {
|
|
return syscall.Sysctl("kern.uuid")
|
|
}
|