Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
R6A06
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
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
Abdallah Toumji
R6A06
Commits
6978e575
Commit
6978e575
authored
3 months ago
by
Jean-Marie Place
Browse files
Options
Downloads
Patches
Plain Diff
update (thx Eric)
parent
41c1db26
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Vagrantfile
+8
-7
8 additions, 7 deletions
Vagrantfile
with
8 additions
and
7 deletions
Vagrantfile
+
8
−
7
View file @
6978e575
...
...
@@ -70,19 +70,20 @@ Vagrant.configure("2") do |config|
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
config
.
vm
.
provision
"shell"
,
inline:
<<-
SHELL
apt update && apt -y upgrade
apt -y install net-tools
export DEBIAN_FRONTEND=noninteractive
apt update && apt -ys upgrade
apt -ys install net-tools
export CONFIG=/vagrant/config
apt-get install -y gnupg
apt-get install -y git
apt-get install -y
s
gnupg
apt-get install -y
s
git
wget -O - https://scodoc.org/misc/scodoc-repo.gpg.key | gpg --dearmor > /usr/share/keyrings/scodoc-archive-keyring.gpg
#ajout depot et installation scodoc
cp $CONFIG/scodoc.list /etc/apt/sources.list.d
apt-get update
# discard postfix dialog
export DEBIAN_FRONTEND=noninteractive
# apt-get install -y nginx
apt-get install -y scodoc9
# apt-get install -y
s
nginx
apt-get install -y
s
scodoc9
echo '# scodoc user is created by scodoc install. configure it'
cp $CONFIG/.bashrc /home/scodoc/.bashrc
...
...
@@ -92,7 +93,7 @@ scodoc:r6a06$$
EOF
echo "configure ssh to scodoc"
cd /home/vagrant
mkdir /home/scodoc
mkdir
-p
/home/scodoc
chown scodoc:scodoc /home/scodoc
cp -r .ssh /home/scodoc
cd /home/scodoc
...
...
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