$ tar -xvf twistlock_<VERSION>.tar.gz
In many cases, you will set up twistlock.cfg before you install Twistlock. However, in some cases, you might want to change some parameters in twistlock.cfg after Twistlock has already been installed. This article shows you how to reconfigure an existing Twistlock installation.
To reconfigure Twistlock with an updated twistlock.cfg, run the twistlock.sh installer script again.
Extract the release tarball to a new location on your host. Make sure this location does not have any previous Twistlock install files.
$ tar -xvf twistlock_<VERSION>.tar.gz
Update twistlock.cfg with your new settings.
$ vim twistlock.cfg
Reload twistlock.cfg.
$ sudo ./twistlock.sh onebox
This command assumes that both twistlock.sh and twistlock.cfg reside in the same directory. To specify a configuration file in a different directory, use the -c option.
The old configuration is stored in /var/lib/twistlock/scripts/twistlock.cfg.old