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-Priority: 991
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Package: remmina remmina-plugin-rdp
|
||||
in: release n=stretch-backports
|
||||
Pin: release n=stretch-backports
|
||||
Pin-Priority: 991
|
||||
|
|
|
@ -3,6 +3,13 @@
|
|||
pulseaudio
|
||||
unzip
|
||||
unattended-upgrades
|
||||
apt-listchanges
|
||||
exfat-utils
|
||||
exfat-fuse
|
||||
ntfs-3g
|
||||
firmware-linux
|
||||
firmware-linux-nonfree
|
||||
firmware-realtek
|
||||
|
||||
# Desktop
|
||||
xorg
|
||||
|
@ -21,6 +28,7 @@ xfce4-systemload-plugin
|
|||
thunar-archive-plugin
|
||||
gnome-system-tools
|
||||
gnome-disk-utility
|
||||
gnome-keyring
|
||||
plank
|
||||
|
||||
#Printing
|
||||
|
@ -53,6 +61,9 @@ thunderbird
|
|||
thunderbird-l10n-fr
|
||||
vlc
|
||||
vlc-l10n
|
||||
remmina
|
||||
remmina-plugin-rdp
|
||||
xarchiver
|
||||
|
||||
#FI Agent
|
||||
fusioninventory-agent
|
||||
|
|
12
install.sh
12
install.sh
|
@ -82,22 +82,22 @@ create_fusioninv_conf () {
|
|||
}
|
||||
|
||||
configure_drm(){
|
||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||
if [ -z "$(grep -o drm $INITRAMFS_CONF_FILE)" ]
|
||||
then
|
||||
cat "drm" >> $INITRAMFS_CONF_FILE
|
||||
echo "drm" >> $INITRAMFS_CONF_FILE
|
||||
else
|
||||
message "DRM already done " "warn"
|
||||
fi
|
||||
if [ -z "$(grep -o $1 $INITRAMFS_CONF_FILE)" ]
|
||||
then
|
||||
cat "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
||||
echo "$1 modeset=1" >> $INITRAMFS_CONF_FILE
|
||||
else
|
||||
message "$1 already done " "warn"
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
@ -154,6 +154,10 @@ message "\nCreate users default parameters : "
|
|||
cp -R files/skel/ /etc/ &> /dev/null
|
||||
message "OK" "ok"
|
||||
|
||||
message "\nConfigure fusioninventory"
|
||||
create_fusioninv_conf
|
||||
message "OK" "ok"
|
||||
|
||||
#remove interface file until NM use network
|
||||
rm -rf /etc/network/interfaces
|
||||
|
||||
|
|
Reference in a new issue