Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.package
Commits
29f13862
Commit
29f13862
authored
Dec 04, 2013
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[slapos-quick-install] By pass some modules (which are nor present on all hardwares)
parent
cc5f27fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
debian-preseed/slapos-quick-install.sh
debian-preseed/slapos-quick-install.sh
+6
-4
No files found.
debian-preseed/slapos-quick-install.sh
View file @
29f13862
...
...
@@ -78,9 +78,7 @@ if [ ! -f /etc/opt/slapos/slapos.cfg ]; then
fi
cat
>
/usr/local/sbin/slapos-tweak
<<
EOF
#!/bin/bash
set -e
#!/bin/sh -e
mkdir -v -p -m 0755 `grep ^certificate_repository_path /etc/opt/slapos/slapos.cfg | sed 's/^certificate_repository_path.*= *//'`
...
...
@@ -123,17 +121,21 @@ modprobe kvm_intel
sleep 1
chmod 666 /dev/kvm
# By pass if some of the followed modules are not available.
# This is usually needed or preferred for a specific hardware/distribution.
set +e
# Set power saving
modprobe acpi_cpufreq > /dev/null 2>&1
# Set hardware monitoring tools (for Shuttle xh61 machines)
modprobe coretemp > /dev/null 2>&1
modprobe f71882fg > /dev/null 2>&1
set -e
# Activate KSM (shared memory for KVM)
echo 1 > /sys/kernel/mm/ksm/run
slapos node format --now
slapos node format -
v -c -
-now
EOF
...
...
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