Re: Fedora/Atomic

Olaf Radicke <[email protected]> Wed, 23 Sep 2015 16:23:58 +0200 (CEST)
Newsgroups gmane.linux.redhat.fedora.german
Message-ID <945923159.4572.1443018238309.JavaMail.open-xchange@app08.ox.hosteurope.de>
------=_Part_4571_996969176.1443018238252
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Irgend wir klapp das nur so halb. Funktionieren tut es, das:

* Der User "demo" angelegt wird
* Das der User "demo" die richtigen ssh keys hinterlegt hat
* Das der ssh-login des "demo"-user funktioniert
* Das der "demo"-user in der sudo korekt eingetragen ist

Was nicht funktioniert ist:
* Das das root passwort auf "password" gesetzt wird
* Das das "demo"-User-Passwort auf "demo" gesetzt wird
* Das werde root noch demo sich mit ihren Passworten in der Weboberfl=C3=A4=
che von
cockpit anmelden k=C3=B6nnen.
* Ach wenn das Passwort vom User root oder demo neu gesetzt wird, klappt de=
r
cockpit-log in nocht. Im journal ist was zu lesen von "error:
mm_request_receive: socket closed"

Hat jemand eine Idee f=C3=BCr mich?

VG

Olaf

> Olaf Radicke <[email protected]> hat am 22. September 2015 um 1=
4:00
> geschrieben:
>=20
>=20
> Hallo Loste,
>=20
> ich habe gerade mal versucht den (fedora) Atomic host zum laufen zu bekom=
men.
> Das Image startet aber die Konfigurationen auf dem init-ISO zeigen keine
> Auswirkung. Wie kann ich das Problem einkreisen?
>=20
> Meine "meta-data" sieht so aus:
> --------------BEGIN---------------
> instance-id: atomic-host001
> local-hostname: atomic01.olaf.priv
> ----------------ED---------------------
>=20
> Meinw "user-data" so:
>=20
> ---------------BEGIN-------------------
> #cloud-config
>=20
> users:
>   - default
>   - name: demo
>     gecos: User D. Two
>     sudo: ["ALL=3D(ALL) NOPASSWD:ALL"]
>     groups: wheel,adm,systemd-journal
>     ssh_pwauth: True
>     ssh_authorized_keys:
>       - ssh-rsa
> AAAAB3NzaC1yc2EAAAADAQABAAABAQDH9rCpHVVfaUuTOt2XYzNkZJWZfoHOyKiJTj1Pl4L7z=
On84Trr/uH8+m/W6EieDmLH2wgt6Dlmy+rY//jBpxdBn5xd37Fq/gKCbA5P+wsUald0f5w6M/u0=
6NeZ8TcyPtCRYzvXYCXrIlgQJR9Np4GcfkeSTgmbNnN0M5jUwZxYWmlp4C7QOeyiVPjM7rn64qm=
3SHjFk6LWnCoVB09kZAaC7rpIezMhrwLUIFCIHQsKwvpO4K92Q8vEz4Jzll0FSbIomzIy/PW2na=
qCgePvJE6r3QMgLi1Rwyb1FAMhGdwgtnc/i4DjGEfXTzMzy+HZkapZ7ftQof2TVcJc4u4/9nBJ
> [email protected]
>=20
> chpasswd:
>   list: |
>     root:password
>     cloud-user:atomic
>     demo:demo
>   expire: False
> ---------------------END------------------------
> Ausf=C3=BChren tue ich:
>=20
>=20
> genisoimage  -v -debug -output atomic_init.iso -volid cidata -joliet -roc=
k
> user-data meta-data
>=20
> mv -f ./atomic_init.iso /home/DATA/kvm/iso/atomic_init.iso
>=20
> virt-install --name=3Datomic1-fedora22 --ram 1024 \
> --disk path=3D/home/DATA/kvm/kvm_images/atomic_test.qcow2  \
> --vcpus 1 --os-type linux --os-variant generic --network network=3Ddefaul=
t
> --graphic none \
> --console pty,target_type=3Dserial \
> --cdrom=3D/home/DATA/kvm/iso/atomic_init.iso
>=20
>=20
> Ich bekomme als Ausgabe:
>=20
> [root@oradicke-localdomain project_atomic]# genisoimage -v -debug  -outpu=
t
> atomic_init.iso -volid cidata -joliet -rock user-data meta-data
> I: -input-charset not specified, using utf-8 (detected in locale settings=
)
> genisoimage 1.1.11 (Linux)
> graft_dir: ' : ', node: 'user-data', short_name: 'user-data'
> graft_dir: ' : ', node: 'meta-data', short_name: 'meta-data'
> Writing:   Initial Padblock                        Start Block 0
> Done with: Initial Padblock                        Block(s)    16
> Writing:   Primary Volume Descriptor               Start Block 16
> Done with: Primary Volume Descriptor               Block(s)    1
> Writing:   Joliet Volume Descriptor                Start Block 17
> Done with: Joliet Volume Descriptor                Block(s)    1
> Writing:   End Volume Descriptor                   Start Block 18
> Done with: End Volume Descriptor                   Block(s)    1
> Writing:   Version block                           Start Block 19
> Done with: Version block                           Block(s)    1
> Writing:   Path table                              Start Block 20
> Done with: Path table                              Block(s)    4
> Writing:   Joliet path table                       Start Block 24
> Done with: Joliet path table                       Block(s)    4
> Writing:   Directory tree                          Start Block 28
> Done with: Directory tree                          Block(s)    1
> Writing:   Joliet directory tree                   Start Block 29
> Done with: Joliet directory tree                   Block(s)    1
> Writing:   Directory tree cleanup                  Start Block 30
> Done with: Directory tree cleanup                  Block(s)    0
> Writing:   Extension record                        Start Block 30
> Done with: Extension record                        Block(s)    1
> Writing:   The File(s)                             Start Block 31
> Total translation table size: 0
> Total rockridge attributes bytes: 331
> Total directory bytes: 0
> Path table size(bytes): 10
> Done with: The File(s)                             Block(s)    2
> Writing:   Ending Padblock                         Start Block 33
> Done with: Ending Padblock                         Block(s)    150
> Max brk space used 0
> 183 extents written (0 MB)--
> de-users mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/de-users
------=_Part_4571_996969176.1443018238252
MIME-Version: 1.0
Content-Type: text/vcard; charset=UTF-8; name=OlafRadicke.vcf
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=OlafRadicke.vcf

BEGIN:VCARD
VERSION:3.0
PRODID:OPEN-XCHANGE
FN:Olaf Radicke
N:Radicke;Olaf;;;
X-OPEN-XCHANGE-CTYPE:contact
EMAIL;TYPE=INTERNET,work:[email protected]
REV:20110624T183100.487Z
UID:7212a92f-8ba2-42d1-adab-d30467194232
END:VCARD

------=_Part_4571_996969176.1443018238252
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0KZGUtdXNlcnMgbWFpbGluZyBsaXN0CmRlLXVzZXJzQGxpc3RzLmZlZG9yYXByb2plY3Qub3Jn
Cmh0dHBzOi8vYWRtaW4uZmVkb3JhcHJvamVjdC5vcmcvbWFpbG1hbi9saXN0aW5mby9kZS11c2Vy
cw==

------=_Part_4571_996969176.1443018238252--