Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.59 KB

cli.md

File metadata and controls

29 lines (15 loc) · 1.59 KB

CLI Commands for Contestants

  1. ioisetup to get the tinc VPN configuration from the configuration server. It also turns on the firewall so contestants cannot access the internet except IOI-related systems.

  2. ioibackup to perform rsync the home directory to the backup server. This replication only includes non-hidden files up to a maximum size of 100 KB.

    1. ioibackup -r to restore the home directory backup from server into /tmp/restore.
  3. ioisubmit to make a local submission whenever the CMS is inaccessible.

  4. ioiexec. Please read more about it in here.

  5. ioiconf

    1. ioiconf [fwstart|fwstop] to enable/disable firewall outside contest time.

    2. ioiconf vpnclear to remove tinc VPN configuration.

    3. ioiconf [vpnstart|vpnrestart] to start/restart tinc service.

    4. ioiconf vpnstatus to get tinc service status.

    5. ioiconf setvpnproto [tcp|auto] to change VPN protocol mode. By default it will use TCP mode. After changing the protocol, you need to restart tinc by execute ioiconf vpnrestart command.

    6. ioiconf settz <timezone> to change the VM local timezone. It is allowed but not recommended as the host will use their local timezone for all communications.

    7. ioiconf setautobackup [on|off] to enable/disable auto-backup when the contest is running.

    8. ioiconf setscreenlock [on|off] to enable/disable the screen lock. By default it is turned on with 30 second delay after 15 minutes of idle time.