Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
16c0a8c5
Commit
16c0a8c5
authored
Dec 21, 2015
by
Leigh B Stoller
Browse files
Minor fix.
parent
f1dad65c
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/create_instance.in
View file @
16c0a8c5
...
...
@@ -706,14 +706,6 @@ if (!defined($instance)) {
fatal
(
defined
(
$errmsg
)
?
$errmsg
:
"
Could not create instance record for
$quickvm_uuid
");
}
# To keep stuff happy until multisite support finished.
if
(
keys
(
%
{
$sitemap
}))
{
my
(
$temp_aggregate_urn
)
=
values
(
%
{
$sitemap
});
$instance
->
Update
({'
aggregate_urn
'
=>
$temp_aggregate_urn
});
}
else
{
$instance
->
Update
({'
aggregate_urn
'
=>
$default_aggregate_urn
});
}
#
# Get the set of keys (accounts) that need to be sent along. We build
...
...
@@ -744,6 +736,9 @@ foreach my $aggregate_urn (@aggregate_urns) {
push
(
@aggregate_list
,
$aggobj
);
}
# To keep stuff happy until multisite support finished.
$instance
->
Update
({'
aggregate_urn
'
=>
$aggregate_urns
[
0
]});
#
# Create a webtask so that we can store additional information about
# the sliver while we wait.
...
...
Write
Preview
Supports
Markdown
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