mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-10 20:04:36 +00:00
Fix and update
This commit is contained in:
@@ -10,6 +10,7 @@ FCC 是 Fedora CoreOS Configuration (Fedora CoreOS 配置)的简称。
|
||||
|
||||
```yaml
|
||||
## example.fcc
|
||||
|
||||
variant: fcos
|
||||
version: 1.0.0
|
||||
passwd:
|
||||
@@ -23,6 +24,8 @@ passwd:
|
||||
|
||||
### 转换 FCC 为 Ignition
|
||||
|
||||
运行以下命令:
|
||||
|
||||
```bash
|
||||
$ docker run -i --rm quay.io/coreos/fcct:v0.5.0 --pretty --strict < example.fcc > example.ign
|
||||
```
|
||||
@@ -41,6 +44,8 @@ $ sudo coreos-installer install /dev/sda --ignition-file example.ign
|
||||
|
||||
### 使用
|
||||
|
||||
运行以下命令:
|
||||
|
||||
```bash
|
||||
$ ssh core@虚拟机IP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user