diff options
-rw-r--r-- | http/centos/anaconda-ks.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/centos/anaconda-ks.cfg b/http/centos/anaconda-ks.cfg index c528f4e..71303e7 100644 --- a/http/centos/anaconda-ks.cfg +++ b/http/centos/anaconda-ks.cfg @@ -18,7 +18,7 @@ part / --fstype="xfs" --ondisk=sda --grow --label=SLX_SYS # small python script to extract the password from the kernel command line # expects the password given as: rootpw=<password> -%pre --interpreter=/bin/python +%pre --interpreter=/usr/libexec/platform-python import shlex, crypt arg = 'rootpw=' with open('/proc/cmdline', 'r') as f: |