hostedpi create¶
Provision a new Pi in the account
Synopsis¶
hostedpi create [-h] [--model [model]] [--disk [disk]] [--image [image]]
[--ssh-key-path [ssh_key_path]]
name
Description¶
-
name
¶
The name of the new Pi to provision
-
-h
,
--help
¶
Show this help message and exit
-
--model
[model]
¶ The model of the new Pi to provision (3 or 4)
-
--disk
[disk]
¶ The disk size in GB
-
--image
[image]
¶ The operating system image to use
-
--ssh-key-path
[ssh key path]
¶ The path to an SSH public key file to add to the Pi
Usage¶
Provision a new Pi using the default settings:
$ hostedpi create mypi
Pi mypi provisioned successfully
Provision a new Pi using custom settings:
$ hostedpi create mypi4 --model 4 --disk 60 --image ubuntu20.04.arm64 --ssh-key-path ~/.ssh/id_rsa.pub
Pi mypi4 provisioned successfully
Note
Use the hostedpi images command to retrieve the available operating system images for each Pi model.
Note
More information about the Pi will be available with the command hostedpi show once it’s finished provisioning.