Skip to content

setup cloud account

fsword edited this page Oct 18, 2014 · 1 revision

larrow will use $HOME/.larrow to setup your cloud account.

When you get the follow error invalid config file: /home/john/.larrow

Please use larrow login command first ( only Qingcloud is supported for now ):

$ larrow login
The larrow config will be generated at /home/john/.larrow.
         qy_access_key_id: XXXXXXXXXXXXXXXXXXXX
     qy_secret_access_key: 0PqED59IrqFdPRhzhjh2gdhsoT2StVhprw7Cmk2Z
                  zone_id: pek1
               keypair_id: kp-aaaaaaaa
[18:56:42] login success! write to ~/.larrow

As a result, my $HOME/.larrow file might like this:

---
qingcloud:
  :qy_access_key_id: XXXXXXXXXXXXXXXXXXXX
  :qy_secret_access_key: 0PqED59IrqFdPRhzhjh2gdhsoT2StVhprw7Cmk2Z
  :zone_id: pek1
  :keypair_id: kp-aaaaaaaa
Clone this wiki locally