Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.

Commit

Permalink
update version 1.0 final
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunohost committed Aug 22, 2012
1 parent 702916e commit 09b28af
Show file tree
Hide file tree
Showing 15 changed files with 274 additions and 16 deletions.
74 changes: 74 additions & 0 deletions extras/.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
export HISTCONTROL=ignoreboth

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color)
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
;;
*)
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
;;
esac

# Comment in the above and uncomment this below for a color prompt
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1='\[\e[1;31m\][\u@\h]\[\e[0m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;32m\]'

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}: ${PWD/$HOME/~}\007"'
;;
*)
;;
esac

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

#if [ -f ~/.bash_aliases ]; then
# . ~/.bash_aliases
#fi

# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
fi

# some more ls aliases
alias ll='ls -l'
alias la='ls -A'

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
12 changes: 12 additions & 0 deletions extras/.vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
" Activation de la syntaxe
if has("syntax")
syntax on
endif

set bg=dark

set ruler

set encoding=utf-8
set fileencoding=utf-8

Binary file added extras/bandeau.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions profiles/advanced.base_include
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# keep grub or debian-installer may not work properly.
grub

popularity-contest
localization-config
console-tools

usbutils
acpi
acpid
eject

# needed for debian-installer's LVM, software RAID or encrypted disks:
lvm2
mdadm
cryptsetup

# to support reiserfs, JFS and XFS filesystems
reiserfsprogs
jfsutils
xfsprogs

# type-handling tiny package needed for xorg on most architectures
type-handling

# debian-cd uses debootstrap from the mirror
debootstrap

# initramfs-tools recommends busybox, and we don't yet support recommends
busybox

# newer debian-cd (0.3.5+) requires syslinux-common or syslinux in the mirror
syslinux-common
syslinux

# add non-free firmware
firmware-linux-nonfree
file
libc6-i386
1 change: 1 addition & 0 deletions profiles/advanced.description
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Y U NO HOST full automatic webservices installer
39 changes: 39 additions & 0 deletions profiles/advanced.downloads
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# keep grub or debian-installer may not work properly.
grub

popularity-contest
localization-config
console-tools

usbutils
acpi
acpid
eject

# needed for debian-installer's LVM, software RAID or encrypted disks:
lvm2
mdadm
cryptsetup

# to support reiserfs, JFS and XFS filesystems
reiserfsprogs
jfsutils
xfsprogs

# type-handling tiny package needed for xorg on most architectures
type-handling

# debian-cd uses debootstrap from the mirror
debootstrap

# initramfs-tools recommends busybox, and we don't yet support recommends
busybox

# newer debian-cd (0.3.5+) requires syslinux-common or syslinux in the mirror
syslinux-common
syslinux

# add non-free firmware
firmware-linux-nonfree
file
libc6-i386
4 changes: 4 additions & 0 deletions profiles/advanced.packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# less is more intuituve
less
simple-cdd-profiles
firmware-linux-nonfree
54 changes: 54 additions & 0 deletions profiles/advanced.preseed
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
d-i netcfg/use_dhcp false
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_failed note
d-i netcfg/get_hostname string yunohost
d-i netcfg/get_domain string mondomaine.fr
d-i netcfg/get_domain seen false
d-i mirror/country string manual
d-i mirror/http/hostname string ftp.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i mirror/http/proxy seen false
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Paris
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 3.fr.pool.ntp.org
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0
d-i passwd/make-user boolean fasle
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/local0/repository string \
http://lemonldap-ng.org/deb squeeze main
d-i apt-setup/local1/repository string \
http://repo.yunohost.org/ squeeze main
d-i apt-setup/local2/repository string \
http://repo.yunohost.org/ apps main
d-i apt-setup/local0/key string http://lemonldap-ng.org/_media/rpm-gpg-key-ow2
d-i apt-setup/local1/key string http://repo.yunohost.org/yunohost.asc
d-i debian-installer/allow_unauthenticated string true
tasksel tasksel/first multiselect standard, web-server, ssh-server
d-i pkgsel/include postfix yunohost
popularity-contest popularity-contest/participate boolean false
debconf debconf/frontend select Noninteractive
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean true
d-i debian-installer/exit/reboot boolean true
postfix postfix/main_mailer_type select Internet Site
postfix postfix/mailname string /etc/mailname
mysql-server-5.1 mysql-server/root_password password yunohost
mysql-server-5.1 mysql-server/root_password_again password yunohost
samba-common samba-common/workgroup string WORKGROUP
samba-common samba-common/workgroup boolean true
nslcd nslcd/ldap-bindpw password
nslcd nslcd/ldap-starttls boolean false
nslcd nslcd/ldap-reqcert select
nslcd nslcd/ldap-uris string ldap://localhost/
nslcd nslcd/ldap-binddn string
nslcd nslcd/ldap-base string dc=yunohost,dc=org
proftpd-basic shared/proftpd/inetd_or_standalone select standalone
libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
d-i preseed/late_command string \
cp cdrom/simple-cdd/.bashrc /target/root; \
cp cdrom/simple-cdd/.vimrc /target/root;
2 changes: 2 additions & 0 deletions profiles/advanced.udebs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# the udeb needed for simple-cdd
simple-cdd-profiles
39 changes: 39 additions & 0 deletions profiles/default.base_include
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# keep grub or debian-installer may not work properly.
grub

popularity-contest
localization-config
console-tools

usbutils
acpi
acpid
eject

# needed for debian-installer's LVM, software RAID or encrypted disks:
lvm2
mdadm
cryptsetup

# to support reiserfs, JFS and XFS filesystems
reiserfsprogs
jfsutils
xfsprogs

# type-handling tiny package needed for xorg on most architectures
type-handling

# debian-cd uses debootstrap from the mirror
debootstrap

# initramfs-tools recommends busybox, and we don't yet support recommends
busybox

# newer debian-cd (0.3.5+) requires syslinux-common or syslinux in the mirror
syslinux-common
syslinux

# add non-free firmware
firmware-linux-nonfree
file
libc6-i386
5 changes: 0 additions & 5 deletions profiles/default.packages
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@
less
simple-cdd-profiles
firmware-linux-nonfree
firmware-bnx2
firmware-bnx2x
firmware-ipw2x00
firmware-linux
firmware-realtek
8 changes: 5 additions & 3 deletions profiles/default.preseed
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_options select Configure network manually
d-i netcfg/disable_dhcp boolean false
d-i netcfg/get_hostname string yunohost
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/get_domain string mondomaine.fr
d-i netcfg/get_domain seen false
d-i mirror/country string manual
d-i mirror/http/hostname string ftp.debian.org
Expand Down Expand Up @@ -42,6 +42,8 @@ d-i apt-setup/local0/repository string \
http://lemonldap-ng.org/deb squeeze main
d-i apt-setup/local1/repository string \
http://repo.yunohost.org/ squeeze main
d-i apt-setup/local2/repository string \
http://repo.yunohost.org/ apps main
d-i apt-setup/local0/key string http://lemonldap-ng.org/_media/rpm-gpg-key-ow2
d-i apt-setup/local1/key string http://repo.yunohost.org/yunohost.asc
d-i debian-installer/allow_unauthenticated string true
Expand All @@ -56,8 +58,8 @@ d-i cdrom-detect/eject boolean true
d-i debian-installer/exit/reboot boolean true
postfix postfix/main_mailer_type select Internet Site
postfix postfix/mailname string /etc/mailname
mysql-server-5.1 mysql-server/root_password password
mysql-server-5.1 mysql-server/root_password_again password
mysql-server-5.1 mysql-server/root_password password yunohost
mysql-server-5.1 mysql-server/root_password_again password yunohost
samba-common samba-common/workgroup string WORKGROUP
samba-common samba-common/workgroup boolean true
nslcd nslcd/ldap-bindpw password
Expand Down
5 changes: 2 additions & 3 deletions simple-cdd-amd64.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
server="ftp.fr.debian.org"
debian_mirror="ftp://$server/debian/"
rsync_debian_mirror="$server::debian"
profiles="default"
profiles="default advanced"
mirror_components="main contrib non-free"
export ARCH="amd64"
export DISKINFO="YunoHost $(date --utc +%Y%m%d)"
Expand All @@ -10,5 +10,4 @@ export OMIT_RELEASE_NOTES=1
export INSTALLER_CD=2
export DOJIGDO=0
all_extras="`pwd`/extras/.vimrc `pwd`/extras/.bashrc"
proposed_updates=true
export YUNOHOST="v1-alpha"
export SPLASHPNG="`pwd`/extras/splash.png"
5 changes: 2 additions & 3 deletions simple-cdd-i386.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
server="ftp.fr.debian.org"
debian_mirror="ftp://$server/debian/"
rsync_debian_mirror="$server::debian"
profiles="default"
profiles="default advanced"
mirror_components="main contrib non-free"
export ARCH="i386"
export DISKINFO="YunoHost $(date --utc +%Y%m%d)"
Expand All @@ -10,5 +10,4 @@ export OMIT_RELEASE_NOTES=1
export INSTALLER_CD=2
export DOJIGDO=0
all_extras="`pwd`/extras/.vimrc `pwd`/extras/.bashrc"
proposed_updates=true
export YUNOHOST="v1-alpha"
export SPLASHPNG="`pwd`/extras/splash.png"
3 changes: 1 addition & 2 deletions simple-cdd-multi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ export OMIT_RELEASE_NOTES=1
export INSTALLER_CD=2
export DOJIGDO=0
all_extras="`pwd`/extras/.vimrc `pwd`/extras/.bashrc"
proposed_updates=true
export YUNOHOST="v1-alpha"
export SPLASHPNG="`pwd`/extras/splash.png"

0 comments on commit 09b28af

Please sign in to comment.