Skip to content

Commit 5962357

Browse files
Update installvm.py
Regression fix in SLES16 as loading linux and intrd file over http times out
1 parent 0e470ac commit 5962357

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

installvm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,13 +750,13 @@ def configGrub(self):
750750
gfd.write('\n')
751751
cli_nw = 'rd.neednet=1 ' + 'ip=' + vmParser.args.host_ip + '::' + vmParser.args.host_gw + ':' + vmParser.args.host_netmask + \
752752
':' + vmParser.args.host_name + '::none' + ' nameserver=' + vmParser.confparser(vmParser.domain, 'DNS')
753-
strLnx = ' linux ' + httppath + httplinux + cli_nw + \
753+
strLnx = ' linux ' + vmParser.netDir + '/boot/ppc64le/linux '+ cli_nw + \
754754
' agama.install_url=http://' + vmParser.confparser('repo', 'RepoIP') + ':' + vmParser.confparser('repo', 'RepoPort') + \
755755
self.repoDir +'/install root=live:http://' + vmParser.confparser('repo', 'RepoIP') + ':' + vmParser.confparser('repo', 'RepoPort') + \
756756
self.repoDir + '/LiveOS/squashfs.img live.password=abc123' + \
757757
' inst.auto=http://' +vmParser.confparser('kshost', 'Host') + self.ksinst + '\n'
758758
gfd.write(strLnx)
759-
strInit = ' initrd ' + httppath + httpintrd+'\n'
759+
strInit = ' initrd ' + vmParser.netDir + '/boot/ppc64le/initrd\n'
760760
gfd.write(strInit)
761761
gfd.write('}')
762762
gfd.close()

0 commit comments

Comments
 (0)