Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
advanced_computer_architecture
vagrant
Commits
0b91a256
Commit
0b91a256
authored
Jan 21, 2016
by
Christoph Gerum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First version of automatic vm building
parent
cb3a4cb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
init_local_config.sh
init_local_config.sh
+10
-0
userconfig.sh
userconfig.sh
+25
-0
No files found.
init_local_config.sh
0 → 100755
View file @
0b91a256
#!/bin/bash
mkdir
-p
local_config
mkdir
-p
local_config/ssh
ssh-keygen
-f
local_config/ssh/id_rsa
-N
""
echo
"#!/bin/bash"
>
local_config/local_booststrap.sh
echo
" "
>>
local_config/local_booststrap.sh
echo
'echo "Setting local configuration"'
>>
local_config/local_bootstrap.sh
chmod
ugo+x bootstrap.sh
\ No newline at end of file
userconfig.sh
0 → 100755
View file @
0b91a256
#!/bin/bash
vagranthome
=
${
PWD
}
ca_dir
=
"
${
vagranthomw
}
/advanced_computer_architecture"
mkdir
-p
advanced_computer_architecture
cd
if
[
!
-d
gem5
]
;
then
hg clone http://repo.gem5.org/gem5
fi
cd
gem5
hg pull
#scons build/ARM/gem5.debug
scons build/ARM/gem5.opt
#scons build/X86/gem5.debug
#scons build/X86/gem5.opt
cd
$ca_dir
sudo
wget http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz
tar
xvJf aarch-system-2014-10.tar.xz
cd
$vagranthome
cp
-r
/vagrant/local_config/ssh ~/.ssh
/vagrant/local_config/local_bootstrap.sh
\ No newline at end of file
Write
Preview
Markdown
is supported
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