intel / ACON

Apache License 2.0
55 stars 16 forks source link

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

Closed billionairiam closed 4 weeks ago

billionairiam commented 1 month 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 1 month 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 weeks ago

Fixed in latest main trunk.