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
7723b85e
Commit
7723b85e
authored
1 year ago
by
Jean-Marie Place
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of gitlab-ssh.univ-lille.fr:Jean-Marie.Place/r6a06
parents
3ee38033
40a8538d
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
+9
-4
9 additions, 4 deletions
Vagrantfile
with
9 additions
and
4 deletions
Vagrantfile
+
9
−
4
View file @
7723b85e
...
@@ -81,7 +81,7 @@ Vagrant.configure("2") do |config|
...
@@ -81,7 +81,7 @@ Vagrant.configure("2") do |config|
apt-get update
apt-get update
# discard postfix dialog
# discard postfix dialog
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_FRONTEND=noninteractive
apt-get install -y nginx
#
apt-get install -y nginx
apt-get install -y scodoc9
apt-get install -y scodoc9
echo '# scodoc user is created by scodoc install. configure it'
echo '# scodoc user is created by scodoc install. configure it'
...
@@ -92,6 +92,8 @@ scodoc:r6a06$$
...
@@ -92,6 +92,8 @@ scodoc:r6a06$$
EOF
EOF
echo "configure ssh to scodoc"
echo "configure ssh to scodoc"
cd /home/vagrant
cd /home/vagrant
mkdir /home/scodoc
chown scodoc:scodoc /home/scodoc
cp -r .ssh /home/scodoc
cp -r .ssh /home/scodoc
cd /home/scodoc
cd /home/scodoc
chown -R scodoc:scodoc .ssh
chown -R scodoc:scodoc .ssh
...
@@ -107,9 +109,12 @@ EOF
...
@@ -107,9 +109,12 @@ EOF
# iniitalise repo
# iniitalise repo
cd /opt/scodoc
cd /opt/scodoc
su -c "git init" scodoc
su -c "git init" scodoc
#su -c "git remote add origin https://gitlab.univ-lille.fr/Jean-Marie.Place/scodoc_r6a06.git" scodoc
su -c "git remote add origin https://gitlab.univ-lille.fr/Jean-Marie.Place/scodoc_r6a06.git" scodoc
#su -c "git fetch" scodoc
su -c "git fetch" scodoc
#su -c "git switch master --force" scodoc
su -c "git switch master --force" scodoc
echo -n "Adresse ip: " >> $CONFIG/ip
ip a >> $CONFIG/ip
SHELL
SHELL
VAGRANT_COMMAND
=
ARGV
[
0
]
VAGRANT_COMMAND
=
ARGV
[
0
]
...
...
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