summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-10-16 16:09:48 +0200
committerJonathan Bauer2019-10-16 16:09:48 +0200
commite07649e8811d65929ec54989addffc9c2d7d7061 (patch)
treeac8399df47ece93d1228d819203c8bdc99d09cb1
parenthttp/centos/anaconda-ks.cfg: add comment (diff)
downloadpacker-templates-e07649e8811d65929ec54989addffc9c2d7d7061.tar.gz
packer-templates-e07649e8811d65929ec54989addffc9c2d7d7061.tar.xz
packer-templates-e07649e8811d65929ec54989addffc9c2d7d7061.zip
http/centos/anaconda-ks.cfg: fix python path
-rw-r--r--http/centos/anaconda-ks.cfg2
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: