Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9e642464
authored
Mar 27, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Added type in pxelinuxcfg
parent
4152dfd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
porch/api/machine/bizlogic.py
porch/api/machine/bizlogic.py
View file @
9e642464
...
@@ -131,6 +131,7 @@ def provision_machine(name):
...
@@ -131,6 +131,7 @@ def provision_machine(name):
# Create pxelinuxcfg file.
# Create pxelinuxcfg file.
s_mac
=
'01-'
+
d
[
'mac'
]
.
replace
(
':'
,
'-'
)
s_mac
=
'01-'
+
d
[
'mac'
]
.
replace
(
':'
,
'-'
)
data
=
dict
()
data
=
dict
()
data
[
'type'
]
=
d
[
'type'
]
data
[
'fai_kernel_url'
]
=
FAI_KERNEL_URL
data
[
'fai_kernel_url'
]
=
FAI_KERNEL_URL
data
[
'fai_initrd_url'
]
=
FAI_INITRD_URL
data
[
'fai_initrd_url'
]
=
FAI_INITRD_URL
data
[
'fai_squash_url'
]
=
FAI_SQUASH_URL
data
[
'fai_squash_url'
]
=
FAI_SQUASH_URL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment