Installing CoreOS to disk

Source: Internet
Author: User
Tags etcd

1 Open flip && wall software

2 Turn on the Thunderbolt, enable "Use IE proxy", download the following two files: (After the && wall with IE will be interrupted)

Http://stable.release.core-os.net/amd64-usr/494.4.0/coreos_production_image.bin.bz2.sig

http://stable.release.core-os.net/amd64-usr/494.4.0/coreos_production_image.bin.bz2

3 Install Apache server on a machine 10.61.0.210 in LAN: Yum install Httpd;service httpd start

4 Put the two files downloaded in 2 under 10.61.0.210:/var/www/html

5 running modified Coreos-install and CLOUD-CONFIG.YAML on the installation machine (the system running on the installer cannot be started on the disk that is CoreOS to be installed)

Coreos-install modification: base_url= "10.61.0.210"; image_url= "${base_url}/${image_name}"; Sig_url= "${base_url}/${sig_name}";

Cloud-config.yaml:

 #cloud-confighostname:coreos0coreos:etcd:addr: $private _ipv4:4001 peer-addr: $private _ipv4:7001 units:-Name:etcd.service command:start-name:fleet.service Command:start-        Name:static.network Content: |        [Match] Name=enp7s0 [Network] address=10.255.229.210/24 gateway=10.255.229.254 dns=8.8.8.8 dns= 8.8.4.4users:-Name:core ssh-authorized-keys: #公钥-ssh-rsa aaaab3nzac1yc2eaaaabiwaaaqea0llcvph5nuh3fatjrrurs72x 3ed0hgbh42/72vvi3kgzunnundnchyf9kukbyqpfpqqsyqmzpnrbiueclbmv2+ Bmki5kofnhtkwzikdspenlh8ouwsesawzmqnrc6mbmlrcgzqtr0cbpbq2ruhh8i/bgy+lmpzniny6lckbvbxdjqzchhruanzixrtvftgyerrbs /jiiniclfxbpsu9bknnzaiy44a8l2nocnhopmfgauysc8sag2mzzjglakhufkcizaxtcorsuqc2oigvpnn2nh6al0dilog+ u2njnlm48otfmxw8wy4ur7v+3bdw0irbhkhpsz6zim99cdvmsfq== [email protected]-groups:-Sudo-docker 

./coreos-install-d/dev/sdb-c stable-c./cloud-config.yaml (SDB space must be greater than 4.5G, since the 2 downloaded image is decompressed with a disk sector image of 4.5G)

After installation, the SDB will be divided into 7 zones, one EFI, one grub, two usr, two OEMs, and one boot.

6 run on the machine that corresponds to the public key: SSH [email protected]

Note: 10.61.0.210 and 10.255.229.210 are accessible to each other.

Installing CoreOS to disk

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.