Compare commits
No commits in common. "a235cfa3fad2a8b66b1f5d21b0240be089618f0e" and "11da7972db5a0d5a66bab213a2fb0c1aa433d433" have entirely different histories.
a235cfa3fa
...
11da7972db
5 changed files with 6 additions and 20 deletions
|
@ -1,4 +0,0 @@
|
||||||
FI_SERVER="https://agent.dg.acaqb.net/"
|
|
||||||
FI_PROXY_USER="agent"
|
|
||||||
FI_PROXY_PASS="kE9TDtP63xwK"
|
|
||||||
FI_CONF_FILE="/etc/fusioninventory/agent.cfg"
|
|
|
@ -1,3 +1,3 @@
|
||||||
Package: ~/libreoffice/
|
Package: libreoffice libreoffice-gtk3 libreoffice-l10n-fr
|
||||||
Pin: release n=stretch-backports
|
Pin: release n=stretch-backports
|
||||||
Pin-Priority: 991
|
Pin-Priority: 991
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Package: remmina remmina-plugin-rdp
|
Package: remmina remmina-plugin-rdp
|
||||||
Pin: release n=stretch-backports
|
in: release n=stretch-backports
|
||||||
Pin-Priority: 991
|
Pin-Priority: 991
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
pulseaudio
|
pulseaudio
|
||||||
unzip
|
unzip
|
||||||
unattended-upgrades
|
unattended-upgrades
|
||||||
apt-listchanges
|
|
||||||
exfat-utils
|
|
||||||
ntfs-3g
|
|
||||||
|
|
||||||
# Desktop
|
# Desktop
|
||||||
xorg
|
xorg
|
||||||
|
@ -24,7 +21,6 @@ xfce4-systemload-plugin
|
||||||
thunar-archive-plugin
|
thunar-archive-plugin
|
||||||
gnome-system-tools
|
gnome-system-tools
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
gnome-keyring
|
|
||||||
plank
|
plank
|
||||||
|
|
||||||
#Printing
|
#Printing
|
||||||
|
@ -57,8 +53,6 @@ thunderbird
|
||||||
thunderbird-l10n-fr
|
thunderbird-l10n-fr
|
||||||
vlc
|
vlc
|
||||||
vlc-l10n
|
vlc-l10n
|
||||||
remmina
|
|
||||||
remmina-plugin-rdp
|
|
||||||
|
|
||||||
#FI Agent
|
#FI Agent
|
||||||
fusioninventory-agent
|
fusioninventory-agent
|
||||||
|
|
12
install.sh
12
install.sh
|
@ -82,22 +82,22 @@ create_fusioninv_conf () {
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_drm(){
|
configure_drm(){
|
||||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||||
then
|
then
|
||||||
echo "drm" >> $INITRAMFS_CONF_FILE
|
cat "drm" >> $INITRAMFS_CONF_FILE
|
||||||
else
|
else
|
||||||
message "DRM already done " "warn"
|
message "DRM already done " "warn"
|
||||||
fi
|
fi
|
||||||
if [ -z "$(grep -o $1 $INITRAMFS_CONF_FILE)" ]
|
if [ -z "$(grep -o $1 $INITRAMFS_CONF_FILE)" ]
|
||||||
then
|
then
|
||||||
echo "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
cat "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
||||||
else
|
else
|
||||||
message "$1 already done " "warn"
|
message "$1 already done " "warn"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_grub (){
|
configure_grub (){
|
||||||
sed -Ei "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 splash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
|
sed -E "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 spash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
|
||||||
update-grub2 2>/dev/null
|
update-grub2 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,10 +154,6 @@ message "\nCreate users default parameters : "
|
||||||
cp -R files/skel/ /etc/ &> /dev/null
|
cp -R files/skel/ /etc/ &> /dev/null
|
||||||
message "OK" "ok"
|
message "OK" "ok"
|
||||||
|
|
||||||
message "\nConfigure fusioninventory"
|
|
||||||
create_fusioninv_conf
|
|
||||||
message "OK" "ok"
|
|
||||||
|
|
||||||
#remove interface file until NM use network
|
#remove interface file until NM use network
|
||||||
rm -rf /etc/network/interfaces
|
rm -rf /etc/network/interfaces
|
||||||
|
|
||||||
|
|
Reference in a new issue