Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cyber-sandbox-creator
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MUNI-KYPO-CSC
cyber-sandbox-creator
Commits
c4f4ef2d
Commit
c4f4ef2d
authored
3 years ago
by
Attila Farkas
Browse files
Options
Downloads
Patches
Plain Diff
Simplify condition
parent
35011fbd
No related branches found
No related tags found
1 merge request
!35
Version 2.0.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sandboxcreator/vagrant_generator/vagrantfile.py
+1
-2
1 addition, 2 deletions
sandboxcreator/vagrant_generator/vagrantfile.py
with
1 addition
and
2 deletions
sandboxcreator/vagrant_generator/vagrantfile.py
+
1
−
2
View file @
c4f4ef2d
...
...
@@ -112,8 +112,7 @@ class Vagrantfile:
"
winrm
"
:
Array
(
"
winrm
"
,
winrm_group
)}
for
name
,
devices
in
sandbox
.
groups
.
items
():
if
name
!=
"
hosts
"
and
name
!=
"
routers
"
and
\
name
!=
"
ssh
"
and
name
!=
"
winrm
"
:
if
name
not
in
[
"
hosts
"
,
"
routers
"
,
"
ssh
"
,
"
winrm
"
]:
groups
[
name
]
=
Array
(
name
,
devices
)
return
Hash
(
"
ansible_groups
"
,
groups
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment