Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Ipxe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
Platform
Infrastructure
Ipxe
Commits
a4800956
Verified
Commit
a4800956
authored
8 months ago
by
Vincent Sellier
Browse files
Options
Downloads
Patches
Plain Diff
Fix hostname configuration
parent
7c362810
No related branches found
Branches containing commit
No related tags found
1 merge request
!3
cea: Add preseeding for new servers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cea/finish_install.sh.j2
+2
-0
2 additions, 0 deletions
cea/finish_install.sh.j2
with
2 additions
and
0 deletions
cea/finish_install.sh.j2
+
2
−
0
View file @
a4800956
...
...
@@ -84,6 +84,8 @@ echo ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII5oO0jj/IeV04osZ/iaKBZdnuqdziJD3x1VOht
echo
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFBFC8GmLbjltvV2t4M3YgdRJE6GVG1Jub0OsF/Bw6// gsamson
>>
/home/swh/.ssh/authorized_keys
chown
-R
swh:swh /home/swh/.ssh
hostnamectl
hostname
{{
HOSTNAME
}}
sed
-i
-e
'/127\.0\.1\.1/d'
/etc/hosts
echo
127.0.1.1
{{
HOSTNAME
}}
>>
/etc/hosts
...
...
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