您的位置:首页 > 运维架构 > Linux

Linux平台Shell脚本KVM创建虚拟机配置文件

2019-06-05 08:47 645 查看
## VIRSH CONFIGURE ##
# VIRSH configuration file example.

# /cloud_nsd/conf/virsh.conf

################################## INCLUDES ###################################

# Include one or more other config files here.

############################## GLOBAL VARIABLES ###############################
Nfs_Dir=/cloud_nsd				#NFS共享目录
Script_Path=$Nfs_Dir/shell		#脚本路径
Soft_Path=$Nfs_Dir/soft			#软件路径
############################ MANAGER VM ##############################
# [CREATE|DELETE VM]
Disk_Path=/var/lib/libvirt/images			#磁盘文件路径
Disk_Size=50G								#新磁盘大小
Xml_Path=/etc/libvirt/qemu					#XML配置文件路径
Backend_Disk=$Disk_Path/.node_base.qcow2	#后端盘
Backend_Xml=$Disk_Path/.node_base.xml		#后端盘配置文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: