Skip to content
On this page

saya setup

Install and configure saya and its dependencies

Synopsis

Install and configure saya and its dependencies.

saya setup [options] <build-context>]

Options

      --apt-proxy string                    --apt-proxy <ip or dns name>
      --compute-type string                 --compute-type virtualbox (default "virtualbox")
      --cpus uint                           --cpus 2
      --disk-size string                    --mem 512mib
      --from string                         --from ubuntu:focal
      --from-mapping stringToString         --from-mapping "ubuntu/latest=http://server/images/ubuntu.ova (default [])
  -h, --help                                help for setup
      --mem string                          --mem 512mib'
      --name string                         --name ubuntu-vm-server
      --os-variant string                   --os-variant ubuntu, --img-os alpine, ...
      --os-version string                   --os-version 20.04.1
      --platform string                     --img-os Linux, --img-os Windows (default "linux")
      --ssh-address string                  --ssh-address 10.10.10.8
      --ssh-do-not-create-user              --ssh-do-not-create-user
      --ssh-key string                      --ssh-key <public-certificate>
      --ssh-key-file string                 --ssh-key-file ./sut-rsa.pup
      --ssh-password string                 --ssh-password supersecret
      --ssh-port uint16                     --ssh-port 22 (default 22)
      --ssh-user string                     --ssh-user saya (default "saya")
      --ssh-user-credential-types strings   --ssh-user-credential-type 'password'
      --target string                       --target localhost|new-vm|remote
      --target-user string                  --target-user login name of user for which user scoped setup is done. 
                                              defaults to ssh-user for remote and new-vm target and current user for localhost target.
      --want-compute-type strings           --want-compute-type qemu (default [qemu,virtualbox])

Options inherited from parent commands

      --config string        config file (default is .saya.yaml file found in the current working directory or  $HOME/.saya or /etc/saya/.saya.yaml
      --forge string         path of the directory that holds saya runtime data(e.g. local repository, VM data, transient session data, etc)
  -l, --license-key string   license key to use saya
      --log-level string     logging level, error|warn|info|debug|trace (default "info")

SEE ALSO

  • saya - Build, run, push and pull VM images like container images