intel / ACON

Apache License 2.0
57 stars 18 forks source link

[OpenID test] aconcli run command not support `--nologin` #110

Closed billionairiam closed 4 months ago

billionairiam commented 5 months ago
[sgx@sgx-emr02 test]$ ./aconcli run --nologin
Error: unknown flag: --nologin
Usage:
  aconcli run [manifest]... [flags]

Flags:
  -A, --all                load/start all images in the current ACON image repo
  -a, --auto               load dependencies automatically
  -c, --connect string     connect target url
      --env strings        set environment variables inside new containers
  -f, --file string        path to the executable for launching ACON TD/VM (default "/home/sgx/maliang/ACON/test/acon-startvm")
      --finalize           finalize the process of loading images to ACON TD/VM (default true)
  -h, --help               help for run
  -i, --interactive        run ACON TD/VM in foreground (usually for debugging)
  -l, --loadonly strings   load (but do not start) the specified images
  -n, --new                start a new ACON TD/VM
  -p, --proxy string       http proxy for ACON VM
  -t, --timetolive int     shut down the TD/VM after being idle for specified number of seconds (default 60)
  -u, --user string        user ID for OpenID authentication

Global Flags:
  -C, --directory string   change working directory before performing any operations
xxu36 commented 4 months ago

@billionairiam As the help message mentioned, -u, --user string user ID for OpenID authentication is used to indicate the user wants to login. If this flag is omitted, then no login required.

binxing commented 4 months ago

Fixed in latest main trunk.