Skip to content

Commit

Permalink
Microbox names and namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
danhunsaker committed Apr 11, 2023
1 parent 75b8b69 commit da8c92e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Nanobox
Copyright (c) 2015-2019 Nanobox, 2019-present The Microbox Team

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
An implementation of the [Nanobox Custom Provider](https://docs.nanobox.io/providers/create/) spec for Linode.
An implementation of the [Microbox Custom Provider](https://docs.microbox.cloud/providers/create/) spec for Linode.

## Development

Expand All @@ -9,7 +9,7 @@ An implementation of the [Nanobox Custom Provider](https://docs.nanobox.io/provi

### Local Evars
A Linode API key is required to update the catalog files.
`nanobox evar add local API_KEY=your_linode_api_key`
`microbox evar add local API_KEY=your_linode_api_key`
Update catalog config files.
`bundle exec rake catalog:update`

Expand Down
4 changes: 2 additions & 2 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

get '/' do
content_type 'text/html'
'Linode API Adapter for Nanobox. ' \
'source: https://github.com/nanobox-io/nanobox-adapter-linode'
'Linode API Adapter for Microbox. ' \
'source: https://github.com/mu-box/microbox-adapter-linode'
end

get '/meta' do
Expand Down
6 changes: 3 additions & 3 deletions lib/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def linode_create_disk(linode_id, size, ssh_key)
LinodeID: linode_id,
# Ubuntu 16.04 LTS
DistributionID: 146,
Label: 'nanobox-disk',
Label: 'microbox-disk',
Size: disk_size(size),
rootSSHKey: ssh_key,
# never going to use this password, but it's required
Expand All @@ -143,7 +143,7 @@ def linode_create_swap_disk(linode_id, size_id)
LinodeID: linode_id,
Type: 'swap',
Size: swap_disk_size(size_id),
Label: "nanobox-swap"
Label: "microbox-swap"
)
end

Expand All @@ -152,7 +152,7 @@ def linode_create_config(linode_id, disks)
LinodeID: linode_id,
# GRUB 2
KernelID: 210,
Label: "nanobox-profile",
Label: "microbox-profile",
DiskList: disks,
helper_network: true
)
Expand Down
2 changes: 1 addition & 1 deletion lib/meta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def attrs
ssh_user: 'root',
internal_iface: 'eth0:1',
external_iface: 'eth0',
bootstrap_script: 'https://s3.amazonaws.com/tools.nanobox.io/bootstrap/ubuntu.sh',
bootstrap_script: 'https://s3.amazonaws.com/tools.microbox.cloud/bootstrap/ubuntu.sh',
# options: reference, object
ssh_key_method: 'object',
can_reboot: true,
Expand Down
20 changes: 10 additions & 10 deletions spec/fixtures/vcr_cassettes/client/server_order.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da8c92e

Please sign in to comment.