Skip to content

Instantly share code, notes, and snippets.

@aimeemikaelac
Created March 2, 2019 01:24
Show Gist options
  • Save aimeemikaelac/7ef970e778b7605fe1540128176724e2 to your computer and use it in GitHub Desktop.
Save aimeemikaelac/7ef970e778b7605fe1540128176724e2 to your computer and use it in GitHub Desktop.
creating a custom resource in ubuntu maas
687 maas
689 maas --help
690 maas login aimee http://172.20.76.36:5420/MAAS
691 maas login aimee http://localhost:5420/MAAS/
692 maas login aimee http://localhost:5240/MAAS/
693 maas aimee boot-sources read
731 maas aimee boot-resources
732 maas aimee boot-resources create name=test title="title" filetype=iso content=@/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso architecture=amd64/generic
733 maas aimee boot-resources create name=custom/test title="title" filetype=iso content=@/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso architecture=amd64/generic
734 maas aimee boot-resources create name=custom/test title="title test" content=@/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso architecture=amd64/generic
735 maas aimee boot-resources create name=custom/test title="title test" architecture=amd64/generic content=@/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso
736 maas aimee boot-resources create name=custom/test title="title test" architecture=amd64/generic content=@=/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso
737 maas aimee boot-resources create name=custom/test title="title test" architecture=amd64/generic content@=/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso
738 maas aimee boot-resources import
779 maas aimee boot-resources delete name=custom/test title="title test" architecture=amd64/generic content@=/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.iso
780 maas aimee boot-resources read
796 maas aimee boot-resources delete name=custom/vyatta_vnf title="Vyatta VNF" architecture=amd64/generic content@=/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.tar.gz
797 maas aimee boot-resources create name=custom/vyatta_vnf title="Vyatta VNF" architecture=amd64/generic content@=/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.tar.gz
798 maas aimee boot-resources import
799 maas aimee boot-resources is-importing
864 maas aimee boot-resources create name=custom/vyatta_vnf title="Vyatta VNF" architecture=amd64/generic content@=/home/aimee/Downloads/vyatta-vnf-17.2.0_amd64.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment