Compare commits
18 commits
Author | SHA1 | Date | |
---|---|---|---|
77cc7fcf2a | |||
a235cfa3fa | |||
a19b196010 | |||
525cba5906 | |||
9287d6470b | |||
e18102d5ae | |||
9686cc6f11 | |||
ef7570cd47 | |||
2687387c42 | |||
8b3483e411 | |||
e36c0867c7 | |||
886a17fd89 | |||
21c5700337 | |||
54712eea8b | |||
5c6608d420 | |||
ace138d377 | |||
5db8d69cde | |||
57262fc556 |
5 changed files with 25 additions and 6 deletions
4
conf/fusioninventory.conf
Normal file
4
conf/fusioninventory.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
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 libreoffice-gtk3 libreoffice-l10n-fr
|
Package: ~/libreoffice/
|
||||||
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
|
||||||
in: release n=stretch-backports
|
Pin: release n=stretch-backports
|
||||||
Pin-Priority: 991
|
Pin-Priority: 991
|
||||||
|
|
|
@ -3,6 +3,13 @@
|
||||||
pulseaudio
|
pulseaudio
|
||||||
unzip
|
unzip
|
||||||
unattended-upgrades
|
unattended-upgrades
|
||||||
|
apt-listchanges
|
||||||
|
exfat-utils
|
||||||
|
exfat-fuse
|
||||||
|
ntfs-3g
|
||||||
|
firmware-linux
|
||||||
|
firmware-linux-nonfree
|
||||||
|
firmware-realtek
|
||||||
|
|
||||||
# Desktop
|
# Desktop
|
||||||
xorg
|
xorg
|
||||||
|
@ -21,6 +28,7 @@ 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
|
||||||
|
@ -53,6 +61,9 @@ thunderbird
|
||||||
thunderbird-l10n-fr
|
thunderbird-l10n-fr
|
||||||
vlc
|
vlc
|
||||||
vlc-l10n
|
vlc-l10n
|
||||||
|
remmina
|
||||||
|
remmina-plugin-rdp
|
||||||
|
xarchiver
|
||||||
|
|
||||||
#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
|
||||||
cat "drm" >> $INITRAMFS_CONF_FILE
|
echo "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
|
||||||
cat "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
echo "$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 -E "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 spash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
|
sed -Ei "s/^GRUB_CMDLINE_LINUX_DEFAULT=\"(.*)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"\1 splash\"/g" ${GRUB_DEFAULT_CONF_FILE} >/dev/null
|
||||||
update-grub2 2>/dev/null
|
update-grub2 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,6 +154,10 @@ 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