/usr/bin/pkgos-fix-config-default is in openstack-pkg-tools 75.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
# -*- mode: shell-script -*-
set -e
. /usr/share/openstack-pkg-tools/pkgos_func
# $1 = config file path (example: /etc/nova/nova.conf)
# $2 = .ini file section (example: DEFAULT)
# $3 = directive name (example: sql_connection)
# $4 = only present in "set" mode: new value to replace in the .ini file
PKGOS_VERBOSE=yes
pkgos_inifile set $@
|