manila

lvhailong / 2023-08-08 / 原文

!/usr/bin/bash

cat > /etc/sysconfig/network-scripts/ifcfg-eth1 <<eof
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
eof

ifup eth1
curl -s -f -o /etc/yum.repos.d/ceph.repo http://materials.example.com/ceph.repo
yum install -y ceph-fuse