mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-02 07:26:13 +00:00
Add packet metadata support, with bonding
Use the packet metadata to set up bonding, also get ssh keys and hostname. This does not yet do anything with disk metadata. Userdata is not used if it has been used for ipxe, but is otherwise available. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -41,7 +41,7 @@ var netProviders []Provider
|
||||
var cdromProviders []Provider
|
||||
|
||||
func main() {
|
||||
providers := []string{"aws", "gcp", "vultr", "cdrom"}
|
||||
providers := []string{"aws", "gcp", "vultr", "packet", "cdrom"}
|
||||
if len(os.Args) > 1 {
|
||||
providers = os.Args[1:]
|
||||
}
|
||||
@@ -51,6 +51,8 @@ func main() {
|
||||
netProviders = append(netProviders, NewAWS())
|
||||
case "gcp":
|
||||
netProviders = append(netProviders, NewGCP())
|
||||
case "packet":
|
||||
netProviders = append(netProviders, NewPacket())
|
||||
case "vultr":
|
||||
netProviders = append(netProviders, NewVultr())
|
||||
case "cdrom":
|
||||
|
Reference in New Issue
Block a user