Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
demo-vm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
cosc412
demo-vm
Commits
a0c52a89
Commit
a0c52a89
authored
2 years ago
by
David Eyers
Browse files
Options
Downloads
Patches
Plain Diff
Change to Ubuntu Focal.
parent
b4f2d56f
Branches
end-2022
end-2023
focal
master
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Vagrantfile
+1
-1
1 addition, 1 deletion
Vagrantfile
kerberos/setup-kerberos-credentials.sh
+2
-2
2 additions, 2 deletions
kerberos/setup-kerberos-credentials.sh
kerberos/setup-kerberos.sh
+1
-1
1 addition, 1 deletion
kerberos/setup-kerberos.sh
with
4 additions
and
4 deletions
Vagrantfile
+
1
−
1
View file @
a0c52a89
...
...
@@ -4,7 +4,7 @@
VAGRANTFILE_API_VERSION
=
"2"
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
config
.
vm
.
box
=
"ubuntu/
xeni
al64"
config
.
vm
.
box
=
"ubuntu/
foc
al64"
config
.
vm
.
network
"forwarded_port"
,
guest:
8080
,
host:
9080
config
.
vm
.
network
"forwarded_port"
,
guest:
80
,
host:
8180
config
.
vm
.
network
"forwarded_port"
,
guest:
443
,
host:
8443
...
...
This diff is collapsed.
Click to expand it.
kerberos/setup-kerberos-credentials.sh
+
2
−
2
View file @
a0c52a89
...
...
@@ -6,9 +6,9 @@ sudo kadmin -l init --realm-max-ticket-life=unlimited \
sudo
kadmin
-l
add
--random-key
--max-ticket-life
=
'1 day'
\
--max-renewable-life
=
'1 week'
--expiration-time
=
never
\
--pw-expiration-time
=
never
--attributes
=
''
\
--policy
=
'default'
host/ubuntu-
xeni
al.testdomain
--policy
=
'default'
host/ubuntu-
foc
al.testdomain
sudo
kadmin
-l
ext_keytab host/ubuntu-
xeni
al.testdomain
sudo
kadmin
-l
ext_keytab host/ubuntu-
foc
al.testdomain
sudo
ktutil list
sudo
kadmin
-l
add
--password
=
'password'
--max-ticket-life
=
'1 day'
\
...
...
This diff is collapsed.
Click to expand it.
kerberos/setup-kerberos.sh
+
1
−
1
View file @
a0c52a89
...
...
@@ -17,6 +17,6 @@ sudo service ssh restart
sudo sed
-r
-i
''
\
-e
's/^(127\.0\.0\.1.localhost)/\1.testdomain localhost kdc/'
\
-e
's/^(127\.0\.1\.1.ubuntu-
xeni
al)/\1.testdomain ubuntu-
xeni
al/'
\
-e
's/^(127\.0\.1\.1.ubuntu-
foc
al)/\1.testdomain ubuntu-
foc
al/'
\
/etc/hosts
# -e '/precise64/s/$/\n127.0.2.1\tkdc.testdomain kdc/'
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