[rhinstaller/anaconda/pulls/184 master] User operation kickstart tests.

bcl installerbot-noreply at redhat.com
Fri Jul 10 21:50:45 UTC 2015


> @@ -0,0 +1,80 @@
> +url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/$releasever/$basearch/os/"
> +
> +install
> +
> +network --bootproto=dhcp
> +
> +bootloader --timeout=1
> +zerombr
> +
> +clearpart --all
> +autopart --type=lvm
> +
> +keyboard us
> +lang en
> +timezone America/New_York
> +
> +rootpw qweqwe
> +
> +## TEST CREATE USER
> +# Create specific user group
> +group --name=kosygroup --gid=5001
> +
> +# Create specific user
> +user --name=kosieh --gecos="Kosieh Barter" --homedir=/home/kbarter --password="$6$QsJCB9E6geIjWNvn$UZLEtnHYgKmFgrPo0fY1qNBc/aRi9b01f19w9mpdFm9.MPblckUuFYvpRLSzeYeR/6lO/2uY4WtjhbryC0k2L/" --iscrypted --shell=/bin/bash --uid=4001 --gid=5001
> +
> +shutdown
> +
> +%packages
> +%end
> +
> +%post
> +
> +## TEST CREATE USER CHECK
> +# Check group
> +cat /etc/group | grep 5001

May as well check for the group name too

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/184#discussion_r34399547


More information about the anaconda-patches mailing list