There are some tutorials which recommend the usage of etcd, but even this has to be configured into the CoreOS linux...
The first idea: what about customizing the ISO image...
mount -o loop coreos_production_iso_image.iso /media/isoInside this:
$ lsand inside the coreos directory:
coreos isolinux syslinux
du -sh *
276M coreos
1,9M isolinux
2,5K syslinux
ls -l coreosHmmm.
insgesamt 282349
-r--r--r-- 1 root root 253738975 Jul 6 03:47 cpio.gz
-r--r--r-- 1 root root 35385632 Jul 6 03:47 vmlinuz
$ gunzip cpio.gzThe directory etc is empty. And usr.sqashfs can be mounted:
$ cat cpio | cpio -idmv
.
usr.squashfs
etc
mount usr.squashfs /media/sqashfsand here we go:
du -sh *I think modifying these files is not really helpful. Although there is no home directory to install my authorized_keys file.
221M bin
34M boot
512 lib
240M lib64
18M libexec
2,5K local
0 lost+found
512 postinst
29M sbin
69M share
512 tmp
CoreOS itself states:
But i hope there is another way without ignition to modify the coreos. Stay tuned ;-)
Other posts around this topic: Core OS
No comments:
Post a Comment